I need to produce a report for a project which I've heavvily commented with Doxygen. Like here I'm experimenting some troubles.
Since the report must be at most 8 page long, I hacked the documentation make command as follows:
report:
(cat doc/Doxyfile ;\
echo "GENERATE_HTML=NO" ;\
echo "GENERATE_LATEX=YES" ;\
echo "INPUT=src/headers/doc.h" ;\
) | doxygen -
This trick, suggested by the doxygen documentation, allows me to consider only the src/headers/doc.h
file, which contains only the @defgroup
statements. In this way I can ignore all the header file documentation, which still gets analyzed when generating the html version:
doc:
cat doc/Doxyfile | doxygen -
The only flaw of my evil plan comes from the File Documentation section, which still gets generated for the Pdf file. My last resource would be removing with a script the unwanted section, but I'm wondering if there's a better way to exclude it. Any hint?