docsify icon indicating copy to clipboard operation
docsify copied to clipboard

collapsible sidebar root sidebar items

Open trusktr opened this issue 6 years ago • 3 comments

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.

trusktr avatar Aug 11 '19 15:08 trusktr

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

Should we close this issue? @trusktr

sy-records avatar Jul 26 '20 02:07 sy-records

Is this issue still active @sy-records ?

akbatra567 avatar Dec 29 '22 06:12 akbatra567

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! 🎉

trusktr avatar Jul 09 '23 21:07 trusktr