命名doxygen @ref

问题描述 投票:1回答:1

我如何命名Doxygen @ref标签?

我尝试过以下方法:

See @ref hello_world hello for more information

哪个输出:

See hello_world hello for more information

hello_worldhello_world有关。我正在寻找这个输出:

See hello for more information

hellohello_world有关。 Doxygen的文档仅包含有关@ref\ref)的LaTeX形式的信息,我不知道如何将其应用于JavaDoc样式@ref

我将如何更改链接的“文本”值?

syntax documentation doxygen documentation-generation
1个回答
3
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.