【问题标题】:DoxyGen ignores functionsDoxyGen 忽略函数
【发布时间】:2023-03-07 06:43:01
【问题描述】:

我有一个类似的文件:

/** @file some description */

void SomeFunc();///< brief function description

@file 关键字用于记录全局函数as per Doxygen mailing list。就是这样,但 Doxygen 一直忽略 SomeFunc(),即它不会出现在文档中的任何位置。

【问题讨论】:

    标签: c++ documentation doxygen


    【解决方案1】:

    @file 关键字用于specify the file name,而不是描述。试试这样的:

    //!
    //! @file filename.h
    //! @brief some description
    //!
    

    【讨论】:

    • 非常感谢,是的,这是一个诡计。总结一下:需要在@file关键字后面加上文件名。
    猜你喜欢
    • 2013-08-10
    • 2014-10-07
    • 1970-01-01
    • 1970-01-01
    • 2011-07-19
    • 2015-01-09
    • 2012-09-01
    • 2018-01-26
    • 1970-01-01
    相关资源
    最近更新 更多