I want to create a doxygen documentation from python code, but I want to exclude some methods from a class.
I have not found anything to exclude a class method directly in the doxygen configuration file, but I found question 4 on here. So in the configuration I set:
ENABLE_PREPROCESSING = YES
PREDEFINED = DOXYGEN_SHOULD_SKIP_THIS
and in the code I did
#ifndef DOXYGEN_SHOULD_SKIP_THIS
def log(text):
....
...
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
to exclude a log
method from the documentation, I ran doxygen
again, but without the expected outcome. The documentation for log
is still in the documentation...
What am I doing wrong? How to correctly exclude a method from being documented, or appearing in the caller/calee graphs?