Doxygen:\xrefitem命令未按预期工作
我尝试使用\xrefitem命令,如中所示 我的Test.h文件:Doxygen:\xrefitem命令未按预期工作,doxygen,Doxygen,我尝试使用\xrefitem命令,如中所示 我的Test.h文件: /** @page my_errors My Errors * @brief Errors page * * Errors page contents. */ /** @error ERROR 101: in case a file can not be opened. Check about file system read/write access.*/ #define MY_ERR_CANNOT_OP
/** @page my_errors My Errors
* @brief Errors page
*
* Errors page contents.
*/
/** @error ERROR 101: in case a file can not be opened.
Check about file system read/write access.*/
#define MY_ERR_CANNOT_OPEN_FILE 101
/** \error ERROR 102: in case a file can not be closed.
Check about file system read/write access. */
#define MY_ERR_CANNOT_CLOSE_FILE 102
并使用别名:
别名+=“错误=\xrefitem我的\u错误\”\“\”
将创建页面My Errors
,但两个错误的文档不会显示在输出中。我必须添加一些设置吗
所有其他首选项都是默认设置。Doxygen版本为1.8.16当使用页面顶部的注释
//\file
时,会显示“错误”。
虽然我得到了一个警告:
my_errors:1: warning: multiple use of page label 'my_errors', (other occurrence: .../aa.h, line: 4)
这不好,但不会破坏输出
编辑:我刚刚推送了一个关于警告的建议补丁到github()Ok now define 1 works。但第二个仍然不是迪帕伊。我得到了错误:test.h:16:warning:documentation for unknown define MY_ERR_CANNOT_CLOSE_FILE found。当我使用1.8.16并将
///\FILE
放在测试的顶部时,我看到了这两个定义,它们的文档以及“定义”和“我的错误”页面上的文档。我忽略了什么吗?