-
Notifications
You must be signed in to change notification settings - Fork 342
Feature Request, add nosidebar
and nonavbar
options
#262
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
Comments
Note that for hiding the sidebar (not yet navbar), this can now be done by setting this sphinx option in
For doing this for all pages, you can use |
@jorisvandenbossche what do you think about following the same pattern for the navbar? Something like html_navbar = {
"**": ["logo.html", "navbar-menu.html", "social.html"]
} and it could be extended (or excluded) in the same way as the sidebar? Then we could let people add, e.g., the search bar to the navbar via this mechanism rather than having "switch" configs like we currently use |
From what I understand we are moving away from no-header documentation should we close this issue then ? |
well we do already have navbar_start / center / end, now, and sidebars will be hidden if there's no content in them, so I think that functionality is nearly there. Regarding |
Hello pydata-sphinx-theme maintainers!
Love the project! I'm using the theme in a slightly different manner, I'm specifically using it to build docsets for dash and the various derivates (zeal comes to mind).
Here is a screenshot!
To make it work in such a manner, I had to manually add some CSS to hide the sidebar and the navbar up top (which you may notice that there is still a lot of empty space at the top, but I'm not too concerned about that).
It would be great if there was an option to just hide the sidebar and navbars so the html output could be embedded in such a way.
Thanks for everyones work on this, this is an awesome project!
The text was updated successfully, but these errors were encountered: