jsdoc-vue
jsdoc-vue copied to clipboard
A jsdoc plugin that parses *.vue files.
jsdoc-vue
A jsdoc plugin that parses *.vue files.
利用 jsdoc 自动生成 .vue 文件的文档。
修改点
- 使用了
jsdoc
字典,可以使用jsdoc
自带的标签来进行编写 - 生成文档采用了minami模板
- 升级了 vue-template-complier 和 jsdoc 模块
安装
git clone [email protected]:Konata9/jsdoc-vue.git
npm install
使用方法
jsdoc 参数可以参照官方文档 Command-line arguments to JSDoc
如果没有在全局安装 jsdoc 请手动指定 jsdoc 所在的目录
jsdoc -c ./conf.js -r
or
./node_modules/jsdoc -c ./config.js -r
全局的配置可以参考config.js
文件
更多jsdoc配置文件的语法请参照官网Configuring JSDoc with a configuration file
使用模板
生成文档样式
请下载项目后,查看example/doc/index.html
文件
License
WTFPL