我尝试通过 headerdoc2html 命令生成文档。但是headerdoc只生成toc.html。该协议没有 index.html。有问题?
我使用了以下头文件和命令。
/*!
@header Dummy.h
hoge
*/
/*!
@class Foo
asdf
*/
@interface Foo : NSObject
/*!
@abstract xxx
*/
- (void)xxx;
@end
/*!
@protocol BarDelegate
*/
@protocol BarDelegate
/*!
@abstract Sent after something
*/
- (void)didSomething:(Foo *)foo;
@end
--
$ headerdoc2html *.h -o doc
结果是,
$ find doc
doc
doc/Dummy_h
doc/Dummy_h/Classes
doc/Dummy_h/Classes/Foo
doc/Dummy_h/Classes/Foo/index.html
doc/Dummy_h/Classes/Foo/toc.html
doc/Dummy_h/index.html
doc/Dummy_h/Protocols
doc/Dummy_h/Protocols/BarDelegate
doc/Dummy_h/Protocols/BarDelegate/toc.html
doc/Dummy_h/toc.html