You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sidebar Category Title / Non-collapsable primary categories. #4966
This helps break up ideas without removing all context. And it just looks cleaner than having dropdown arrows pointing all over the place in a non collapsed landing page
This feature makes every category non-collapsable. The feature I'm talking about makes only the top-level directory non-collapsible, so the user can see a few collapsed categories inside of several top-level directories
In the below picture, the "Guides" "Reference" and "Concepts" sections would be non-collapsable, while the internal directories would be collapsed.
@Yorkemartin I implemented this with #5203. Do you think it would be necessary for us to also have a "category title" item, just like in gitbook, or is a non-collapsable category good enough?
Activity
slorber commentedon Jun 15, 2021
You can already make sidebar categories non-collapsible:
https://docusaurus.io/docs/sidebar#collapsible-categories
Yorkemartin commentedon Jun 15, 2021
This feature makes every category non-collapsable. The feature I'm talking about makes only the top-level directory non-collapsible, so the user can see a few collapsed categories inside of several top-level directories
In the below picture, the "Guides" "Reference" and "Concepts" sections would be non-collapsable, while the internal directories would be collapsed.
slorber commentedon Jun 15, 2021
I see, so using a sidebar category.collapsible = false attribute make sense to override the default global setting with more granularity?
Yorkemartin commentedon Jun 15, 2021
Exactly, I think it helps communicate the context of the top-level categories without adding too much visual complexity
Josh-Cena commentedon Jul 23, 2021
@Yorkemartin I implemented this with #5203. Do you think it would be necessary for us to also have a "category title" item, just like in gitbook, or is a non-collapsable category good enough?