【问题标题】:Naming a doxygen @ref命名一个 doxygen @ref
【发布时间】: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


【解决方案1】:

来自文档:\ref <name> ["(text)"],所以看起来您错过了引号:See @ref hello_world "hello for more information"

【讨论】:

    猜你喜欢
    • 2015-10-22
    • 1970-01-01
    • 1970-01-01
    • 2018-01-22
    • 2020-04-20
    • 2012-10-18
    • 2011-01-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多