Replies: 1 comment 2 replies
-
Thanks for asking. IMHO, what is saner and what is not always depend on your point of view and the size of your site. Our mobile navigation is designed in a way that it scales without any additional effort, but I can understand that some users don't like that it is split into distinct panes. It's certainly possible to override navigation with custom CSS, making it look exactly like the one from mdbook, but it's likely some effort that you'd need to go through. You probably would also need to fork the theme, because otherwise you would have to override all properties for all elements, which would also be a maintenance nightmare once we make updates to the CSS. That being said, we might add a new navigation design in the future, but there are currently no plans when this might be the case. We have other things that we need to fix first |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a request from one of the users of https://zighelp.org/ to use mdbook as it has saner navigation on mobile.
I would like to keep mkdocs-material as it offers more options and feels nicer.
I think this is responsible for navigation sections https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-sections,
but I don't know how to customize it, so that sections are always expanded also on small screens.
This is my config https://github.com/zighelp/zighelp/blob/master/mkdocs.yml
zighelp:
mdbook:
Beta Was this translation helpful? Give feedback.
All reactions