如何在Doxygen的生成输出中移除行引用?

10

我想要删除以下这种行,但仍然希望返回源代码浏览。

Definition at line 377 of file xxx.h. 

我在doxygen配置文件中尝试了以下两个选项,但这些只是删除类型交叉引用

# If the REFERENCES_RELATION tag is set to YES 
# then for each documented function all documented entities 
# called/used by that function will be listed.

REFERENCES_RELATION    = NO

# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) 
# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from 
# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will 
# link to the source code.  Otherwise they will link to the documentation.

REFERENCES_LINK_SOURCE = NO

更新:我刚尝试设置了以下内容,似乎可以完成任务,但正在等待确认这是否是实现我想要的方式的正确方法。

SOURCE_BROWSER         = NO
2个回答

15

明白了

SOURCE_BROWSER = NO


2

文档还提到

为了在生成的输出中摆脱所有源代码,请确保 VERBATIM_HEADERS 也设置为 NO。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接