我尝试使用 HeaderDoc 在 Xcode 中记录我的 Swift 项目,但只处理文件“.h”并且被忽略文件“.swift”
这是我的快速文件:
/// test
///
/// :param: ann blabla
func testFunc( ann: Foo ) { .. }
我在终端中运行以下命令:
headerdoc2html -o ~/Desktop/docum Ninja
This is the error:
Documentation will be written to /Users/me/Desktop/docum
HTML output mode.
No valid input files specified.
Usage: headerdoc2html [-dq] [-o <output directory>] <input file(s) or directory>.
iMac:MyApp me$ headerdoc2html -o ~/Desktop/docum Ninja/
Documentation will be written to /Users/me/Desktop/docum
HTML output mode.
DIR Ninja/
======= Parsing Input Files =======
Processing Ninja/Test.m
Skipping. No HeaderDoc comments found.
Processing Ninja/-Bridging-Header.h