Open avik-pal opened 3 months ago
Would it be better to have them collapse instead? I could probably add that behaviour in relatively easily...
For directory specific sidebars, you could probably override them in page frontmatter for now.
Yes, collapsible is a good way too. I tried to look for an option where only the current page sidebar is expanded, but Vitepress doesn't provide that (unless I missed something). For example, if I am in "Overview" then "Getting Started" is expanded but all other sections are collapsed.
if you set everything to collapse, then the one that is active will be open, and the others hidden. But, yeah, opening a new one will not collapse the other ones.
That's perfect.
Vitepress supports this https://vitepress.dev/reference/default-theme-sidebar#multiple-sidebars so it might be good to support that.
Currently, for long documentations, the sidebar is quite big