Commit e83be38
authored
fix(sidebar): hide release_notes directory and backup_recovery from autogenerated sidebar (#58)
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>1 parent a5bc777 commit e83be38
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
53 | 63 | | |
54 | 64 | | |
55 | 65 | | |
| |||
0 commit comments