In my spare time, I wrote a plug-in for Docsify to automatically generate a table of contents.
The main functions of Auto Sidebar For Docsify are: The blog deployed by Docsify automatically generates a directory.
-nodejs
Copy the auto Sidebar.js file of this project to the root directory of the git project.
Reminder: Please back up the original _ sidebar.md
file before use. Running the program will overwrite the original file.
$ node autoSidebar.js
After completion, the document effect will be automatically output in the terminal and written into the _sidebar.md
file
The directory has been optimized, and there will be no duplicate paths in the tree diagram.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。