Option to keep sidebar groups collapsed even when viewing a page inside them #1754
pvaswindas
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request
It would be great to have an option to keep sidebar groups collapsed by default, even when viewing a page inside one of them, and also allow manual collapsing afterward.
Current Behavior
Currently, when visiting a page within a group, Mintlify automatically expands that group in the sidebar.
Even if
"expanded": falseand"interaction": { "drilldown": false }are set indocs.json, the group still opens automatically and cannot be manually collapsed again.Desired Behavior
Use Case
In large documentation sites — especially with extensive API Reference sections — this would help keep the sidebar organized and easier to navigate.
For example, I have several API categories under the API Reference section, and it becomes cluttered when all groups expand automatically.
Example
docs.jsonsnippet{ "navigation": [ { "group": "API Reference", "expanded": false, "pages": [ { "group": "Accounts API", "expanded": false, "interaction": { "drilldown": false }, "pages": ["api/accounts/get", "api/accounts/post"] }, { "group": "Transactions API", "expanded": false, "interaction": { "drilldown": false }, "pages": ["api/transactions/get", "api/transactions/post"] } ] } ] }Mintlify has been amazing to use so far, and this feature would really help make large docs even more user-friendly.
Beta Was this translation helpful? Give feedback.
All reactions