【发布时间】:2019-09-13 11:25:41
【问题描述】:
我尝试使用如doxygen documentation 中所示的\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_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
并使用别名:
ALIASES += "error=\xrefitem my_errors \"\" \"\""
页面My Errors 已创建,但两个错误的文档未显示在输出中。我必须添加一些设置吗?
所有其他首选项都是默认设置。 Doxygen 版本是 1.8.16
【问题讨论】:
标签: doxygen