In C / C ++, you can make doxygen recognize that the comment applies to the text preceding it in the line. Any of them:
int my_variable; int my_variable; int my_variable;
Adds a string to the documentation for my_variable
. The equivalent attempt in Python does not seem to work. It works:
#
It:
my_variable = None
attaches the documentation to my_other_variable
, as you would expect, but both of them:
my_variable = None
seems to just cancel the documentation. Is there a way to make the equivalent //!<
In Python?
source share