xdoc v0.0.31
xdoc
一个专为互秀而生的前端文档生成器
Install
Install xdoc with npm:
$ npm install xdoc -gUsage
init the documentation:
$ xdoc initBuild the documentation:
$ xdoc build [options]Start a server at 127.0.0.1:8000:
$ xdoc serverStart a server at 127.0.0.1:8000, watching the source files change:
$ xdoc watchPublish documentation to spmjs.org:
$ spm doc publish [options]Clean the _site folder:
$ xdoc cleanThemes
The default theme path is ~/.spm/themes.
Install a theme:
git clone https://github.com/elover/xdoc-theme ~/.spm/themes/cmdThe default theme xdoc-theme would be installed when spm-doc is installed.
How to write a document
Follow the instruction in nico-cmd.
Changelog
0.0.1
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago