1 Star 16 Fork 5

VaguelyCloud/AutoSidebarForDocsify

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.en.md 853 Bytes
一键复制 编辑 原始数据 按行查看 历史
VaguelyCloud 提交于 2021-03-12 12:46 . autoSidebarForDocsify V1.1

Auto Sidebar For Docsify

Introduction

In my spare time, I wrote a plug-in for Docsify to automatically generate a table of contents.

Features

The main functions of Auto Sidebar For Docsify are: The blog deployed by Docsify automatically generates a directory.

Environmental requirements

-nodejs

Instructions for use

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

Effect picture

Note

The directory has been optimized, and there will be no duplicate paths in the tree diagram.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/vaguelycloud/auto-sidebar-for-docsify.git
git@gitee.com:vaguelycloud/auto-sidebar-for-docsify.git
vaguelycloud
auto-sidebar-for-docsify
AutoSidebarForDocsify
master

搜索帮助

Cb406eda 1850385 E526c682 1850385