问题标签 [headerdoc]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ios - Documenting code in Xcode 8
I have seen that Apple's HeaderDoc User Guide has been marked as "Retired Document" with this note:
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
This document was last updated in May. So... which the best practices for documenting code now in Xcode 8 would be? I don't find further information regarding this.
swift - 如何逃避 Swift 文档注释标注?
我在 Swift 中有以下文档注释:
说“警告”的行不会在 Xcode 中呈现,因为“-警告”是 swift 文档注释中的关键字标注。我怎样才能逃避标注?
objective-c - 如何隐藏某些 Objective-C 方法头文档 (HeaderDoc) 注释
Objective-C 文档 (HeaderDoc) 中有没有办法隐藏某些评论不让公众看到?
换句话说,当您在您正在调用的方法上单击(alt-单击)时,会弹出该框,显示该方法的注释...我希望对该方法的某个注释不显示在该框中.
这是我的场景:
现在,当有人doSomthing()
在 Swift 中使用并查看文档弹出框时,关于的评论对NS_SWIFT_NAME
他们来说毫无意义(它没有关于该方法如何工作或如何使用它的有用 API 信息)。所以,我不希望该评论出现。
但是,如果有人要查看实际方法并NS_SWIFT_NAME
在那里查看,我希望他们能够知道它为什么存在。而且我不想将注释拉到文档块之外并使其成为//
代码注释,因为我认为那会很丑陋。
是否有任何关键字可以让您在标题文档中隐藏某些评论?喜欢@hide
还是什么?
ios - Doxygen/headerdoc 是否支持 swift 4.0?
我们目前正计划使用评论创建文档。因此,任何人都知道如何实现这一目标。正如我已经检查了大多数 Doxygen/headerdoc 不支持 Swift 的帖子。