Docsify CLI v4.4.2 is released, adding file query during initialization

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 ./docsto write a document in the project directory, initinitialize 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

  • Fix the problem that the aliases of init and serve do not take effect ( #125 ) ( f3af553 )

After the upgrade, you can use it normally docsify i ./docsand docsify s ./docsinitialize 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

Guess you like

Origin www.oschina.net/news/120838/docsify-4-4-2-released