It would be nice if #
automatically bound to the definition of the function argument. However, I donβt see how to do this in the automatic link generation section of the doxygen manual.
Looking at the source of the HTML documentation, it seems that the parameters look just like strong
and with the paramname
class. So something like
@pre <strong class="paramname">grid1</strong> and <strong class="paramname">grid2</strong> must be the same size.
should provide you with the desired results. Clearly, it is overly verbose to write out every time. However, you must define a custom command , such as \paramname
, so that you can simply write
@pre \paramname{grid1} and \paramname{grid2} must be the same size.
Change This can be achieved using the configuration file alias.
ALIASES += paramname{1}="<strong class="paramname">\1</strong>"
source share