2017-07-03 93 views
0

我使用Doxygen生成我的文檔,但它爲沒有任何文檔的結構添加文檔。Doxygen:跳過一些類/結構體

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

是否有另一種方式解釋Doxygen不生成類/結構的任何文檔?

回答

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/*