docsite-cli v1.0.8
A doc tool based on docsify
Not Maintaned!
Please use: https://github.com/hoperyy/qute-cli
order:
q docsite-initq docsite-serveq docsite-pushq docsite-clear
Install
npm i docsite-cli -gor
npm i docsite-cli --savedemo
https://hoperyy.github.io/snippets/#/
Orders
docsite serve [targetPath] [-m, --multi] [-i, --show-index]Lanch current directory as a website.
[-m, --multi]Each subdirectory will be lanched as a single website by default
[-i, --show-index]If dirname matches
/^\d*-/, such as0-README.md, the site will not show0-but showREADMEby default.If you want to show
0-, just add this param.[targetPath]target directory.
./by default
docsite push [branch] [-m, --multi] [-i, --show-index](beta and take care!)It will push current directory to github.
branchThe target remote git branch.
gh-pagesby default.[-m, --multi]Each subdirectory will be lanched as a single website by default
[-i, --show-index]If dirname matches
/^\d*-/, such as0-README.md, the site will not show0-but showREADMEby default.If you want to show
0-, just add this param.
project config files
.repoTell docsite what is this project's repo.sidebarshowignorefiles that should not be shown in sidebar (It will be reached by url).sidebarfileignorefiles that should not be created when creating docsite website (It will not be reached by url).navbarignorefiles that should not be shown in navbarREADME.mdproject readme._sidebar.mduser defined sidebar. Only work in default mode, not--multimode_navbar.mduser defined navbar. Only work in default mode, not--multimode
LICENSE
MIT