idoc 是简单的通过 markdown 文件生成静态页面的小工具。
,, ,, db `7MM MM `7MM ,M""bMM ,pW"Wq. ,p6"bo MM ,AP MM 6W' `Wb 6M' OO MM 8MI MM 8M M8 8M MM `Mb MM YA. ,A9 YM. , .JMML.`Wbmd"MML.`Ybmd9' YMbmd'
全局安装
$ sudo npm install idoc -g
命令使用
命令使用帮助。
Usage: idoc [options] Simple document generation tool! Options: -h, --help output usage information -V, --version output the version number -C, --CreateSelect Directory Makefile. -v App version information. -i, init init a documentation. -b, build Markdown produces static pages document. -w, watch Listener "md" file is automatically generated pages. -s, server Open local static html server. -c, clean Clear the generate static files. -d, deploy Publish to a gh-pages branch on GitHub. Examples: $ idoc init $ idoc init [path] $ idoc init [path] -C ~/idoc/ $ idoc watch $ idoc server $ idoc clean $ idoc deploy