not sure but there may be doxygen or sphinx like utilities to geneate doc right out of the source code?
for instance here is browsable and single page html and pdf other formats possible: https://kivy.org/doc/stable/ sphinx seems more modern and versatile than doxygen also this sphinx docstrings are nice part of documentation inside source files when browsing directlt the source code :-) https://www.sphinx-doc.org/en/master/ -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info