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 你的公司名稱 ./
然后你的項目文件夾中就會出現(xiàn)docset文件夾,里面就是你生成的api文檔,點擊index.html就可以訪問了。

docset.jpg