Skip to content
Discussion options

You must be logged in to vote

Hello,
once you enable navigation.tabs level 1 navigation sections become tabs on the website. Then all other navigation sections are rendered on the sidebar. That's the purpose of tabs, to change the context of the displayed content. Therefore, if you enable tabs and Hardware is it's own section there isn't much sense in adding other sections like Networking / Software to the sidebar visible on Hardware.

As far as I know there is no config option to achieve what you ask for.
Only thing you could do, would be to use theme overrides and override the nav.html or nav-item.html partial.
https://squidfunk.github.io/mkdocs-material/customization/#extending-the-theme

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by rmscode
Comment options

alexvoss
Dec 7, 2023
Collaborator Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kamilkrzyskow
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants