非法别名格式“ALIASES”

Illegal alias format `ALIASES '

我将以下代码添加到 doxywizard ALIASES 中,但出现错误。我该如何解决这个问题?

ALIASES += global_START="<dl class=\"params\"><dt>Globals</dt><dd><table class=\"params\">"
ALIASES += global_{2}="<tr><td class=\"paramname\"></td><td>: </td></tr>"
ALIASES += global_END="</table></dd></dl>"

[![在此处输入图片描述][1]][1]

错误信息:

error: Illegal alias format `ALIASES += global_START="
Globals


:
"'. Use "name=value" or "name(n)=value", where n is the number of arguments error: Illegal alias format `ALIASES += global_END="

"'. Use "name=value" or "name(n)=value", where n is the number of arguments

版本:1.8.11

解决方案

我在doxyfile中手动添加的是这样的:

 ALIASES                = ALIASES += global_START="<dl class=\"params\"><dt>Globals</dt><dd><table class=\"params\">"
                          ALIASES += global_{2}="<tr><td class=\"paramname\"></td><td>: </td></tr>"
                          ALIASES += global_END="</table></dd></dl>"

然后打开 doxywizard,ALIASES 字段如下所示:(每行必须单独添加)

ALIASES
+=
global_START="<dl class=\"params\"><dt>Globals</dt><dd><table class=\"params\">"
global_{2}="<tr><td class=\"paramname\"></td><td>: </td></tr>"
global_END="</table></dd></dl>"

不是答案,但评论太长太复杂。

我无法重现问题中指示的结果 sas,我的输入和输出:

使用的源代码:

/// \file

/**
 * @brief Port state and port index value assign with Modbus Input Register
 * The application receives in this parameter the zero-ba..
 * @param[in] portRole This parameter get the role of the port
 * @global_START
 *
 * @global_{bExampleTwo, Second Description Here}
 * @global_END
*/
void fie(int portRole);

使用的 Doxyfile:

ALIASES += global_START="<dl class=\"params\"><dt>Globals</dt><dd><table class=\"params\">"
ALIASES += global_{2}="<tr><td class=\"paramname\"></td><td>: </td></tr>"
ALIASES += global_END="</table></dd></dl>"

结果图(详细部分: