You can do it either way; it's really a question of style/preference.
As you pointed out, Doxygen has the @note
command, but not @notes
. You can create your own command for @notes
by editing the Doxyfile, and modifying the ALIASES =
tag to read
ALIASES = "notes=@par Notes:\n"
With this, you can put the command @notes
in the documentation, which will result in a user-defined paragraph with the heading
Notes:
As pointed out in the Doxygen documentation for the ALIAS tag, you can put \n's in the value part of an alias to insert newlines.