AppleDoc自动生成api文档
2018-10-10 本文已影响462人
文刂丽
Github链接:https://github.com/tomaz/appledoc
安装:
1.git clone git://github.com/tomaz/appledoc.git
2.cd ./appledoc
3.sudo sh install-appledoc.sh
4.appledoc --version
使用:
1.首先cd到你的项目文件夹下;
2.appledoc --project-name 你的项目名称 --project-company 你的公司名称 ./
然后你的项目文件夹中就会出现docset文件夹,里面就是你生成的api文档,点击index.html就可以访问了。
