appledoc使用简介
2014-05-28 00:00
302 查看
摘要: appledoc使用简介
安装appledoc
1.下载源码后运行即安装
如果提示:garbage collection is no longer supported需要删除Building setting中GCC_ENABLE_OBJC_GC的requied。
另外:git安装亦可(如下),不过遇到上述问题就不好办。
2.在终端中使用cd命令进入项目的文件夹,然后执行下列命令:
–output ./doc:设置输出目录为“./doc”。
–project-name testPname:设置项目名为"testPname"。
–project-company "testCname":设置公司名为“testCname”。
--company-id "com.test.id":设置公司id为“com.test.id”。
.:当前目录。
3.进入xcode-->help-->Documentation and API Reference就可以看到自己的
4.safari打开:
5.命令参考:appledoc --no-create-docset --output ./doc --project-name SychipRpcLib --project-company "Sychip" --company-id "com.sychip.SychipRpcLib" --ignore "*.m" --ignore "GCD*.h" .
安装appledoc
1.下载源码后运行即安装
如果提示:garbage collection is no longer supported需要删除Building setting中GCC_ENABLE_OBJC_GC的requied。
另外:git安装亦可(如下),不过遇到上述问题就不好办。
git clone git://github.com/tomaz/appledoc.git cd appledoc sudo sh install-appledoc.sh
2.在终端中使用cd命令进入项目的文件夹,然后执行下列命令:
appledoc --output ./doc --project-name testPname --project-company "testCname" --company-id "com.test.id" .
–output ./doc:设置输出目录为“./doc”。
–project-name testPname:设置项目名为"testPname"。
–project-company "testCname":设置公司名为“testCname”。
--company-id "com.test.id":设置公司id为“com.test.id”。
.:当前目录。
3.进入xcode-->help-->Documentation and API Reference就可以看到自己的
4.safari打开:
file:///Users/****/Library/Developer/Shared/Documentation/DocSets/com.test.id.testPname.docset/Contents/Resources/Documents/index.html
5.命令参考:appledoc --no-create-docset --output ./doc --project-name SychipRpcLib --project-company "Sychip" --company-id "com.sychip.SychipRpcLib" --ignore "*.m" --ignore "GCD*.h" .
相关文章推荐
- 使用Objective-C的文档生成工具:appledoc
- 使用Objective-C的文档生成工具:appledoc
- appledoc 使用方法
- 使用AppleDoc自动生成项目文档(XCode8)
- appledoc安装及使用教程
- 使用Objective-C的文档生成工具:appledoc
- appledoc 使用brew命令安装使用
- appledoc工具的使用
- 使用appledoc生成说明文档
- 使用Objective-C的文档生成工具:appledoc
- 开源框架:Appledoc——Objective-C文档生成工具使用教程
- iOS appledoc安装与使用
- iOS --appledoc的安装和使用
- appledoc使用说明
- 使用Objective-C的文档生成工具:appledoc
- 使用appledoc生成注释文档
- iOS UIImageView使用(转自Apple doc)
- AppleDoc 的使用
- 使用Java的POI工具进行Word的DOC文档转为HTML页面技术简介