使用 Doxygen 链接到 ivars 或方法
我尝试按照 Doxygen 文档添加指向 ivars 和方法的链接,但 Doxygen 无法解释它们。
这就是我正在做的事情。
@interface MyClass: NSObject
{
int x;
}
@end
Somewhere else:
/**
Trying to link to x.
MyClass::x
*/
解决方案:不会创建指向未记录内容的链接。刚刚将文档添加到我的 ivar 并创建了链接。
I tried following the Doxygen documentation to add links to ivars and methods but none of them are interpreted by Doxygen.
This is what I'm doing.
@interface MyClass: NSObject
{
int x;
}
@end
Somewhere else:
/**
Trying to link to x.
MyClass::x
*/
SOLUTION: No link is created to something that is not documented. Just added documentation to my ivar and the link was created.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请尝试以下操作:
Try the following: