logological / gpp

GPP, a generic preprocessor
https://logological.org/gpp
GNU Lesser General Public License v3.0
192 stars 33 forks source link

Doxygen Generation #21

Open mofosyne opened 7 years ago

mofosyne commented 7 years ago

I am currently trying to analyse the code to understand how it works.

To make it easier, I'm generating a doxygen document for it. I have attached a pull request, that contains the doxyfile config as well as a script that auto checks if you have doxygen and graphviz installed. If not it will prompt you to install it. Else it shall run it as normal and automatically open the documentation page for it in one go.

I currently have it set to just read out all the functions and render all the call graphs within gpp.c . This is okay for a codebase of this size. At least until we can refactor this correctly.

logological commented 6 years ago

Though I appreciate that automatically generated source documentation may assist GPP developers, I'm not sure that it will add much value to GPP's users. After all, GPP isn't an API. Are you aware of any other software packages, other than libraries, that include Doxygen-generated source documentation?