# recommended to do this on a vm
apt update
apt install doxygen ruby-asciidoctor-pdf pandoc

doxygen -g Doxyfile

vim Doxyfile
#---------------------------------------------------------------------------
# Configuration options related to the DOCBOOK output
#---------------------------------------------------------------------------

# If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
# that can be used to generate PDF.
# The default value is: NO.

GENERATE_DOCBOOK       = NO <- set this to YES

# save and quit

cd ./path/where/doxygen
ll
filename.dox

doxygen Doxyfile

# this will generate a new folder
cd docbook
pandoc -f docbook -t asciidoc -o filename.adoc filename.xml

# convert to pdf
asciidoctor-pdf filename.adoc

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin