Closed tsung-wei-huang closed 3 years ago
Hi!
Interesting. This is something I do quite often and it works, although I have the doc commands in different order. Can you try this instead? If the doc block is right above the function, you shouldn't even need the @fn
:
/**
@brief performs key-value sort on a range of items
@tparam P execution policy type
@tparam K_it keys iterator type
@tparam V_it values iterator type
@tparam C comparator type
It should be able to consume detailed description as well, if it's put here.
*/
@mosra thanks. This indeed fixes it - order matters.
It looks like I am not able to document the full function with template arguments but only a brief statement. For example, in my project, this in-code doc can only be correctly processed by
doxygen.py
with@brief
. Ideally, I would like to have the following:However, when I use
doxygen.py
to run my conf.py, the function is not documented. Would you please help take a look? I believe I mark this file to be documented.