source code document
程序员文章站
2024-03-20 22:32:34
...
It’s always good to write source code document. As it’s said better written than remember nothing.
Recently, I was involved in one js project. And the project contains basic control and app develop framework. So it’s a must to have clearlly wirten APIs.
We choose js doc as the tools.
First, install the tools
sudo npm install git+https://github.com/jsdoc3/jsdoc.git
sudo npm install ink-docstrap
Secondly, setup configuration.json file
Finally, run
jsdoc -c ./configuration.json -t $TemplatePath -d ./docstrap_doc
where $TemplatePath, is node_modules/ink-docstrap/template
After that, you have got bunches of .xml files. And you can put in in some website. They are static web sites.
推荐阅读
-
source code document
-
【昊鼎王五】Slave failed to initialize relay log info structure from the repository, Error_code: 1872解决方案
-
try {}里有一个return语句,那么紧跟在这个try后的finally {}里的code会不会被执行,什么时候被执行,在return前还是后?...
-
Open Source Content Management Systems (CMS) in C# CMSC#C++Cdotnetnuke
-
VS Code:g++命令实现多文件编译运行
-
VS Code:标准输入输出的文件重定向
-
[百度杯] 九月场 code writeup
-
在IDEA中使用Eclipse Code Formatter 博客分类: IDE Eclipseeclipse-code-formatterIDEIntelliJ IDEA
-
JQuery CODE 博客分类: javascript
-
iOS13上传相册视频Code=1 "Operation not permitted"