docsifyjs / docsify

🃏 A magical documentation site generator.
https://docsify.js.org
MIT License
27.57k stars 5.67k forks source link

collapsible sidebar root sidebar items #900

Open trusktr opened 5 years ago

trusktr commented 5 years ago

Feature request

It'd be nice to be able to expand collapse the root sidebar items.

F.e., in the Docsify guide, clicking Customization would collapse that section in the UI.

What problem does this feature solve?

can make it easier to focus on specific parts of the docs.

sy-records commented 4 years ago

The function is already implemented, https://github.com/docsifyjs/docsify/commit/5e161a1?

Should we close this issue? @trusktr

akbatra567 commented 1 year ago

Is this issue still active @sy-records ?

trusktr commented 1 year ago

The function is already implemented, 5e161a1?

Should we close this issue? @trusktr

That's only for sub-items, not the root of the sidebar.

Try clicking this, and it won't do anything:

Screenshot 2023-07-09 at 2 17 52 PM

Looks like https://github.com/docsifyjs/docsify/pull/1979 adds the feature. Nice! 🎉