Skip to content
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

Make it possible to change sidebar depth per-page #51

Open
tbekolay opened this issue Dec 16, 2019 · 0 comments
Open

Make it possible to change sidebar depth per-page #51

tbekolay opened this issue Dec 16, 2019 · 0 comments

Comments

@tbekolay
Copy link
Member

Right now it is possible to change the depth of the sidebar by setting sidebar_toc_depth (see https://github.com/nengo/nengo-sphinx-theme/blob/master/nengo_sphinx_theme/theme/sidebar.html#L52). Sometimes, specifically for changelogs it's convenient to set the depth of the sidebar on a page to be different from the global site setting. It should be relatively straightforward to do this on a per-page basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant