From a63eee6a73754158e4fcb7dc312dff9c7592cf80 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sat, 14 Feb 2026 12:29:06 +0100 Subject: [PATCH] api-docs: bring back page header Signed-off-by: Patrik Oldsberg --- .changeset/api-docs-page-header.md | 5 ----- plugins/api-docs/report.api.md | 1 - plugins/api-docs/src/alpha.tsx | 1 - .../components/ApiExplorerPage/DefaultApiExplorerPage.tsx | 2 -- 4 files changed, 9 deletions(-) delete mode 100644 .changeset/api-docs-page-header.md diff --git a/.changeset/api-docs-page-header.md b/.changeset/api-docs-page-header.md deleted file mode 100644 index c19c87b31d..0000000000 --- a/.changeset/api-docs-page-header.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/plugin-api-docs': patch ---- - -Hide the page header when rendered in the new frontend system, as the header is now provided by the `PageLayout` component. diff --git a/plugins/api-docs/report.api.md b/plugins/api-docs/report.api.md index a350e4370d..693502fad9 100644 --- a/plugins/api-docs/report.api.md +++ b/plugins/api-docs/report.api.md @@ -121,7 +121,6 @@ export type DefaultApiExplorerPageProps = { actions?: TableProps['actions']; ownerPickerMode?: EntityOwnerPickerProps['mode']; pagination?: EntityListPagination; - noHeader?: boolean; }; // @public (undocumented) diff --git a/plugins/api-docs/src/alpha.tsx b/plugins/api-docs/src/alpha.tsx index 6ab8953dd4..44ded088f1 100644 --- a/plugins/api-docs/src/alpha.tsx +++ b/plugins/api-docs/src/alpha.tsx @@ -79,7 +79,6 @@ const apiDocsExplorerPage = PageBlueprint.makeWithOverrides({ loader: () => import('./components/ApiExplorerPage').then(m => ( )), diff --git a/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx b/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx index 0b6239910b..625fdbe31c 100644 --- a/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx +++ b/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx @@ -65,7 +65,6 @@ export type DefaultApiExplorerPageProps = { actions?: TableProps['actions']; ownerPickerMode?: EntityOwnerPickerProps['mode']; pagination?: EntityListPagination; - noHeader?: boolean; }; /** @@ -97,7 +96,6 @@ export const DefaultApiExplorerPage = (props: DefaultApiExplorerPageProps) => { title={t('defaultApiExplorerPage.title')} subtitle={generatedSubtitle} pageTitleOverride={t('defaultApiExplorerPage.pageTitleOverride')} - noHeader={props.noHeader} >