ZotBins Core
|
Doxygen is documentation generator tool from annotated C++ sources.
It generates directly from the C++ source code, which makes it easier to keep the documentation consistant from the source code.
In order to have the documentation generate correctly, you need to add a file header with an description about the file. This needs to be present in every file that needs documentation.
To document functions, you need to add Doxygen-style comments
Before proceeding, you need to install Doxygen. It is supported on Windows, Mac, and Linux.
In order to generate the UML diagrams, you need to have PlantUML installed. Install the PlantUML compiled Jar and update PLANTUML_JAR_PATH
to the appropriate value. For example, if you are on Windows and the PlantUML jar is located in your Downloads folder, PLANTUML_JAR_PATH
probably is C:\Users\{YOUR NAME}\Downloads\plantuml.jar
After installing, run the doxygen
command in the .doxygen/
directory, and this should generate the HTML documentation files for ZotBins Core.
Every commit to main
will start the Doxygen Github Action, which is loaded in .github/workflow/doxygen.yml
. This generates HTML files using Doxygen and deploys it to Github Pages.