Docsify CLI is a tool used to initialize and preview the Docsify website locally. It is recommended that users who use Docsify install it globally
npm i docsify-cli -g
If you want ./docs
to write a document in the project directory, init
initialize the project directly through the command
docsify init ./docs
docsify serve
Start a local server by running , you can easily preview the effect in real time
docsify serve ./docs
For more command-line tool usage, refer to the docsify-cli documentation
The release of this version updates the vulnerabilities in the dependencies of the old version, and also adds some features and fixes a bug
Add
- Ask whether to overwrite existing files when adding initialization items ( #117 ) ( f811906 )
- Modify the version number of Docsify in the dependency ( #107 ) ( d92d030 )
repair
After the upgrade, you can use it normally docsify i ./docs
and docsify s ./docs
initialize the project and preview the project separately.
project address
GitHub: docsify
Gitee: docsify
For those who don’t have a star, don’t forget to give us a star