Doxygen:跳过一些类/结构

时间:2017-07-03 10:35:25

标签: doxygen

我使用Doxygen生成我的文档,但它添加了没有任何文档的结构的文档。

我在我的Doxyfile.in中使用HIDE_UNDOC_CLASSES,但我仍然看到一些文档。

有没有其他方法可以解释Doxygen不为类/结构生成任何文档?

1 个答案:

答案 0 :(得分:0)

您可以使用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/*