【发布时间】:2017-07-03 10:35:25
【问题描述】:
我使用 Doxygen 生成我的文档,但它为没有任何文档的结构添加了文档。
我在 Doxyfile.in 中使用了 HIDE_UNDOC_CLASSES,但我仍然看到一些文档。
是否有另一种方法可以向 Doxygen 解释不为类/结构生成任何文档?
【问题讨论】:
标签: doxygen
我使用 Doxygen 生成我的文档,但它为没有任何文档的结构添加了文档。
我在 Doxyfile.in 中使用了 HIDE_UNDOC_CLASSES,但我仍然看到一些文档。
是否有另一种方法可以向 Doxygen 解释不为类/结构生成任何文档?
【问题讨论】:
标签: doxygen
您可以使用 EXCLUDE_SYMBOLS 标记。
文档说:
The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
(namespaces, classes, functions, etc.) that should be excluded from the
output. The symbol name can be a fully qualified name, a word, or if the
wildcard * is used, a substring. Examples: ANamespace, AClass,
AClass::ANamespace, ANamespace::*Test
Note that the wildcards are matched against the file with absolute path, so to
exclude all test directories use the pattern */test/*
【讨论】: