1 year ago
#136816
Mario Mateaș
Sphinx show values next to define macros
I am generating documentation for a C++ project using Doxygen, doxyrest and Sphinx. For Sphinx, I'm using the Sphinx Book Theme.
I wanted to know if there exists a possibility, when accessing a macro (#define MAXIMUMSIZE 20
, for example) in the Sphinx documentation, to also see its value, and not only its name. To get more precise, when I navigate to the documentation page and look for MAXIMUMSIZE
, it only shows it as a #define MAXIMUMSIZE
, without also providing its value (20).
Doxygen provides its value automatically. Also tried changing to Sphinx RTD Theme, but I have the same problem. I don't think this has to do with the Sphinx themes, but with Sphinx itself.
As you can see, in the second picture, 20
is missing.
python-sphinx
doxygen
documentation-generation
0 Answers
Your Answer