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

sidebar depth is not configurable #148

Open
desimone opened this issue Nov 1, 2022 · 1 comment
Open

sidebar depth is not configurable #148

desimone opened this issue Nov 1, 2022 · 1 comment

Comments

@desimone
Copy link
Collaborator

desimone commented Nov 1, 2022

What's incorrect or missing

Vuepress had a concept of sidebarDepth which would let you choose on a page by page basis how deep you wanted your right-hand sidebar to list items for. That doesn't seem to exist natively in docusaurus.

Basically, the frontmatter they have for ToC but for sidebars.

---
# Display h2 to h5 headings
toc_min_heading_level: 2
toc_max_heading_level: 5
---

What's the resolution?

Some version of sidebarDepth

Related

@desimone
Copy link
Collaborator Author

Blocked upstream?

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

No branches or pull requests

1 participant