【发布时间】:2015-07-13 04:17:12
【问题描述】:
我将如何命名 Doxygen @ref 标签?
我尝试了以下方法:
See @ref hello_world hello for more information
哪个输出这个:
See hello_world hello for more information
hello_world 链接到hello_world。我正在寻找这个输出:
See hello for more information
hello 链接到 hello_world。 Doxygen 的文档仅包含有关 @ref (\ref) 的 LaTeX 形式的信息,我不知道如何将其应用于 JavaDoc 样式 @ref。
我将如何更改链接的“文本”值?
【问题讨论】:
-
来自文档:nref
[”(text)”],所以看起来您错过了引号:请参阅@ref hello_world "hello for more information"。 -
@albert 就是这样!
@ref hello_world "hello"有效。如果您可以将其发布为答案,那就太好了。
标签: syntax documentation doxygen documentation-generation