doxygendoxygen-wizarddoxywizard

Illegal alias format `ALIASES '


I added below codes into doxywizard ALIASES but I get error. How can I solve this?

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

[![enter image description here][1]][1]

Error message:

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

\1
: \2
"'. 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

Version: 1.8.11

SOLUTION

I manually added in doxyfile like this:

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

And open the doxywizard, ALIASES field look like this: (every line must added seperately)

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

Solution

  • Not an answer, but too long and complicated for a comment.

    I was not able to reproduce result sas indicated in the question, my input and output:

    Source code used:

    /// \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 used:

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

    Resulting image (detailed part:

    enter image description here