You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to place several .md pages under one menu item in the sidebar and make them accessible via a tab navigation on the page itself? My goal is to have something like:
component name (Sidebar Menu Item)
overview page (Tab Item with own ToC)
code preview page (Tab Item with own ToC)
design preview page (Tab Item with own ToC)
I've tried adding .md pages in one folder and used the exclude parameter in front matter, but navigating to the excluded pages results in the sidebar menu item not being active anymore.
Folder
_index.md
page.md (excluded from sidebar)
page.md (excluded from sidebar)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Xin
Is there a way to place several .md pages under one menu item in the sidebar and make them accessible via a tab navigation on the page itself? My goal is to have something like:
component name (Sidebar Menu Item)
overview page (Tab Item with own ToC)
code preview page (Tab Item with own ToC)
design preview page (Tab Item with own ToC)
I've tried adding .md pages in one folder and used the exclude parameter in front matter, but navigating to the excluded pages results in the sidebar menu item not being active anymore.
Folder
_index.md
page.md (excluded from sidebar)
page.md (excluded from sidebar)
Here is an example of what I'd like to achieve: https://primer.style/components/button
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions