
看完指南后,我创建了一个新的简单项目,想要试试,这里是我的VIEwController,带有一些文档信息:
import UIKit/**a vIEw controller*/class VIEwController: UIVIEwController {// MARK: property/// a simple varvar hello = 200// MARK: Func/// vIEw dID loadoverrIDe func vIEwDIDLoad() { super.vIEwDIDLoad() // Do any additional setup after loading the vIEw,typically from a nib. print(add(2,b: 2))}/// dID receiveMemoryWarningoverrIDe func dIDReceiveMemoryWarning() { super.dIDReceiveMemoryWarning() // dispose of any resources that can be recreated.}/// a document test funcfunc add(a:Int,b:Int)->Int{ return a + b }} 这是我的命令:
➜ documentDemo git:(master) ✗ jazzy --swift-version 2.1.1 \--clean \--author helloworld \-x -scheme,documentDemoRunning xcodebuildParsing VIEwController.swift (1/3)Parsing AppDelegate.swift (2/3)Parsing My.swift (3/3)building sitejam out ♪♫ to your fresh new docs in `docs`➜ documentDemo git:(master) ✗
我希望HTML有关于我的视图控制器的一些信息,但结果是什么没有:
我想知道如何使用爵士,希望一些建议.
解决方法 默认情况下,jazzy只记录公共类,函数,属性等.因此,您可以执行以下两项 *** 作之一:>将public关键字添加到所需的类,方法和属性
文献.
> Ja000将记录的Change the privacy level.你可以改变
这与–min-acl标志:
jazzy --swift-version 2.1.1 --min-acl=internal总结
以上是内存溢出为你收集整理的ios – 如何使用jazzy来记录我的快速项目?全部内容,希望文章能够帮你解决ios – 如何使用jazzy来记录我的快速项目?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)