【问题标题】:Doxygen : skip some classes / structsDoxygen:跳过一些类/结构
【发布时间】:2017-07-03 10:35:25
【问题描述】:

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

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

是否有另一种方法可以向 Doxygen 解释不为类/结构生成任何文档?

【问题讨论】:

    标签: doxygen


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-11-27
      • 2015-01-22
      • 1970-01-01
      • 2013-08-06
      • 1970-01-01
      • 2019-01-18
      • 2010-11-28
      • 1970-01-01
      相关资源
      最近更新 更多