Skip to content

Conversation

simonspa
Copy link
Contributor

On our page we would like to collapse the sidebar TOCs down to their :caption: elements as described in the PyData Theme docs.

However, we would like to do this only on a single page. Currently this can only be set as a global theme option.

This PR adds the possibility of setting this per-page via the page metadata as described in the docs:

---
html_theme.show_nav_level: 0
---

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

Successfully merging this pull request may close these issues.

1 participant