Skip to content

fix(sidebar): hide release_notes directory and backup_recovery from autogenerated sidebar#58

Merged
mnencia merged 1 commit intomainfrom
dev/fix-sidebar-release-notes
Mar 13, 2026
Merged

fix(sidebar): hide release_notes directory and backup_recovery from autogenerated sidebar#58
mnencia merged 1 commit intomainfrom
dev/fix-sidebar-release-notes

Conversation

@mnencia
Copy link
Copy Markdown
Member

@mnencia mnencia commented Mar 13, 2026

With autogenerated sidebars, Docusaurus creates a separate category entry for the release_notes/ directory in addition to the release_notes.md page, resulting in a duplicate and broken "release_notes" entry in the navigation menu.

The legacy backup_recovery stub page also appears in the sidebar but should not, as its content has been split into separate backup and recovery pages.

Add a custom sidebarItemsGenerator that filters out both entries while keeping the pages accessible via direct links.

@mnencia mnencia requested review from a team and SaxenaAnushka102 as code owners March 13, 2026 09:45
from autogenerated sidebar

With autogenerated sidebars, Docusaurus creates a separate category
entry for the release_notes/ directory in addition to the
release_notes.md page, resulting in a duplicate and broken
"release_notes" entry in the navigation menu.

The legacy backup_recovery stub page also appears in the sidebar
but should not, as its content has been split into separate backup
and recovery pages.

Add a custom sidebarItemsGenerator that filters out both entries
while keeping the pages accessible via direct links.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia mnencia force-pushed the dev/fix-sidebar-release-notes branch from 2ffdca6 to f7f6419 Compare March 13, 2026 10:11
@mnencia mnencia changed the title fix(sidebar): hide release_notes directory from autogenerated sidebar fix(sidebar): hide release_notes directory and backup_recovery from autogenerated sidebar Mar 13, 2026
@mnencia mnencia merged commit e83be38 into main Mar 13, 2026
6 checks passed
@mnencia mnencia deleted the dev/fix-sidebar-release-notes branch March 13, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants