docute
docute copied to clipboard
feat: auto generate sidebar from header
Fix https://github.com/egoist/docute/issues/186
When sidebar: 'auto'
, set sidebar to nav data

It should use toc instead in auto
mode
Do you mean it should get from '#', '##' ... tag?
Yep. the same as VuePress.
Should the sidebar include toc of the current page, or it should include toc of all website?
Current page only:
like VuePress, for current page only
I've changed to
Please help to review the code when you're available.
@egoist Could you please help to review this pull request again? 🙇
@egoist能否请您再次审核此请求请求?🙇
你好,这个功能很好用,怎么我无法使用呢?