Closed ittus closed 5 years ago
It should allow us to toggle these items instead.
Add a collapsable
to the sidebar item, and make it default to false
@egoist Thank for your explanation. I've updated the code. Please help to review again!
Looks good, but it should hide the children by default if collapsable
is true
Fixed π
We should also expand the children when the current route is one of the children.
And collapse other collapsable items.
Check out the VuePress example.
Fixed! But I don't know why now doesn't deploy again
:tada: This PR is included in version 4.16.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Implement https://github.com/egoist/docute/issues/216
@egoist Please help to review when you have time π