make_docs.py is a script that converts XML output from Doxygen into static HTML webpages. As an example, the C++ documentation webpages for my projects were generated using this script. I modeled the theme after Google's Protocol Buffer API reference.
For convenience, I also added a
gulpfile.js to streamline the process and further compile/compress the output HTML.
- Make sure you have Doxygen and Python 3 installed.
- Place your library/repository folders into a single folder (the default directory is "..", i.e. the parent directory).
- Edit the
Doxygenconfiguration file as appropriate for your project (specifically, list the paths to each of your libraries/repositories in the INPUT option, and make sure GENERATE_HTML is disabled).
- Edit the configuration variables at the top of
make_docs.pyas appropriate for your project. Make sure to change
src_rootto the folder containing your libraries/repositories.
- Modify the
doxygen Doxyfileto generate the XML in
make_docs.pyto generate the HTML in
If you have gulp installed, simply run
gulp in place of steps 6 and 7 above.