diff --git a/.changeset/witty-horses-press.md b/.changeset/witty-horses-press.md new file mode 100644 index 0000000000..009f52ef8b --- /dev/null +++ b/.changeset/witty-horses-press.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-techdocs': minor +--- + +feat: tech doc reader page hader now has a explicit label for code icon diff --git a/plugins/techdocs/src/reader/components/TechDocsReaderPageHeader/TechDocsReaderPageHeader.tsx b/plugins/techdocs/src/reader/components/TechDocsReaderPageHeader/TechDocsReaderPageHeader.tsx index e76cb1d173..250232fa17 100644 --- a/plugins/techdocs/src/reader/components/TechDocsReaderPageHeader/TechDocsReaderPageHeader.tsx +++ b/plugins/techdocs/src/reader/components/TechDocsReaderPageHeader/TechDocsReaderPageHeader.tsx @@ -37,6 +37,7 @@ import { Header, HeaderLabel } from '@backstage/core-components'; import { useRouteRef, configApiRef, useApi } from '@backstage/core-plugin-api'; import { rootRouteRef } from '../../../routes'; +import { Grid } from '@material-ui/core'; const skeleton = ; @@ -102,7 +103,7 @@ export const TechDocsReaderPageHeader = ( const labels = ( <> - - + + + + + Source + + } + url={locationMetadata.target} /> ) : null}