Change Link to use backstage/core
This commit is contained in:
+6
-6
@@ -15,8 +15,8 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { Box, Typography, Link } from '@material-ui/core';
|
||||
import { CodeSnippet } from '@backstage/core';
|
||||
import { Box, Typography } from '@material-ui/core';
|
||||
import { CodeSnippet, Link } from '@backstage/core';
|
||||
import { AlertInstructionsLayout } from '../AlertInstructionsLayout';
|
||||
|
||||
export const LabelDataflowInstructionsPage = () => {
|
||||
@@ -32,7 +32,7 @@ export const LabelDataflowInstructionsPage = () => {
|
||||
<Typography paragraph>
|
||||
In Cloud Dataflow, labels can be added to a job either programmatically
|
||||
or via the command-line when launching a job. Note that GCP has{' '}
|
||||
<Link href="https://cloud.google.com/compute/docs/labeling-resources#restrictions">
|
||||
<Link to="https://cloud.google.com/compute/docs/labeling-resources#restrictions">
|
||||
restrictions
|
||||
</Link>{' '}
|
||||
on the length and characters that can be used in labels.
|
||||
@@ -46,7 +46,7 @@ export const LabelDataflowInstructionsPage = () => {
|
||||
<Typography variant="h3">DataflowPipelineOptions</Typography>
|
||||
<Typography paragraph>
|
||||
Dataflow jobs using Beam's{' '}
|
||||
<Link href="https://beam.apache.org/releases/javadoc/2.3.0/org/apache/beam/runners/dataflow/options/DataflowPipelineOptions.html">
|
||||
<Link to="https://beam.apache.org/releases/javadoc/2.3.0/org/apache/beam/runners/dataflow/options/DataflowPipelineOptions.html">
|
||||
DataflowPipelineOptions
|
||||
</Link>{' '}
|
||||
directly can use the <b>setLabels</b> function to add one or more
|
||||
@@ -79,11 +79,11 @@ sc.optionsAs[DataflowPipelineOptions].setLabels(Map("job-id" -> "my-dataflow-job
|
||||
</Typography>
|
||||
<Typography paragraph>
|
||||
For more information on specifying options, see the{' '}
|
||||
<Link href="https://cloud.google.com/dataflow/docs/guides/specifying-exec-params">
|
||||
<Link to="https://cloud.google.com/dataflow/docs/guides/specifying-exec-params">
|
||||
Dataflow documentation
|
||||
</Link>{' '}
|
||||
or{' '}
|
||||
<Link href="https://spotify.github.io/scio/api/com/spotify/scio/ScioContext.html">
|
||||
<Link to="https://spotify.github.io/scio/api/com/spotify/scio/ScioContext.html">
|
||||
Scio Scaladoc
|
||||
</Link>
|
||||
.
|
||||
|
||||
Reference in New Issue
Block a user