New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide entire menu with an hide-menu: true
setting in .pages file
#23
Comments
I'm not sure if I fully understand your request. Would this be different than setting |
Well there you go being awesome. I hadn't thought of that. I'll give it a try. |
No luck. I get an warning. I think it has to do with the menu I'm hiding being the root page menu.
|
Do you want to hide the navigation for all pages or only when the root page is selected? |
Only when the root page is selected. Now that I type that, maybe this plugin is not the place for that and it would best be something added directly into mkdocs-material or its own extension/plugin. Do you think this would be something that would be covered through this plugin? |
I think you're probably right. This plugin currently only hooks into the As far as I can tell, the right place to implement such a feature would be the theme. |
My group has some theme overrides setup to not render the entire nav menu of our main index page since we want the main page to be clean and the other pages are more "utility" in nature. It would be nice if this were built-in and we didn't need the custom theme work.
It feels like this functionality best fits with this plugin, hence why this enhancement suggestion was created.
The text was updated successfully, but these errors were encountered: