Open hezean opened 4 months ago
Same applies to us. This route is hidden but linked to via our custom switcher on top of the sidebar. The sidebar is not rendered at all as the parent meta hides this page.
Edit: Fixed this for us via css override (desktop menu only)
Global overrides.css
(source)
/* Hide guides and faq from main menu */
.nextra-nav-container>nav>a[href="/guides"] {
display: none;
}
_meta.tsx
export default {
...
guides: {
type: "page",
title: "Guides",
},
...
}
When using nextra and the docs theme of version
3.0.0-alpha.24
, setting the display mode of a subdir to "hidden" seems to make the _meta file in that folder not work.Say I set all pages in the
sample
dir to be with the article typesetting, as shown like:After setting the _meta file of its parent dir to:
the page comes like:
Here's the code for a minimal reproducible example: nextra3-meta-not-applied.zip