ios - jazzy 的 Xcode 集成脚本,Swift 项目的文档生成器

标签 ios iphone swift

是否有任何脚本可用于集成 jazzy,https://github.com/realm/jazzy 使用 XCode?

我正在寻找类似于 appledoc 的 XCode 集成脚本的东西 https://github.com/tomaz/appledoc/blob/master/XcodeIntegrationScript.markdown

最佳答案

您只需导入您的 PATH 以便它可以找到 gems,然后使用与在终端中相同的命令行。例如,刚刚将其作为脚本阶段添加到指定项目的名为“文档”的聚合目标中:

PATH=$(bash -l -c 'echo $PATH')

jazzy --clean --author "Alex Curylo" --author_url "http://www.alexcurylo.com" --module PoseGallery --min-acl private --readme ../README.md --github_url "https://github.com/alexcurylo/swift-pose-gallery"

关于ios - jazzy 的 Xcode 集成脚本,Swift 项目的文档生成器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28741513/

相关文章:

swift - Textview 替换字符不起作用

ios - 越狱的 iOS 设备在使用 HTTPS 时是否可以访问 NSURLConnection 数据?

ios - 如何在 Swift 项目中实现 PayU Objective C 库

iPhone 应用程序在 iPad 1 的 iOS 5.1 中崩溃,但在 iPhone 4 和 iPhone 5 中运行良好

css - 背景视频在 iphone 移动浏览器的屏幕上播放

iphone - xcode 自动创建文件夹(如果不存在)

ios - 如何在 AppDelegate 中包含 NSPersistentContainer

java.io.IOException : Stream closed with WS call

iphone - 适用于 iPhone 的基于 Tile 的游戏引擎或框架?

ios - Haneke 不使用 Swift 来使用 AWS SDK