cpp_doxygen_sphinx
cpp_doxygen_sphinx copied to clipboard
Tutorial for a C++ Doxygen CMake Sphinx Breathe Pipeline
Doxygen/CMake/Sphinx/Breathe for those of use who are totally lost
(I'm the one totally lost).
Read all this in a nicer format on Medium here.
The goal here is to set up the documentation for a C++
project. The end result will be documentation for C++
library in the ReadTheDocs
theme hosted on GitHub
, as shown below.


Contents
There will be three parts split across these READMEs:
-
Link Getting some warnings about missing documentation to appear in the build process. This will be done by incorporating
Doxygen
intoCMake
. -
Link Getting an actually nice (
ReadTheDocs
) website up and running. This will be done using theDoxygen
/Sphinx
/Breathe
pipeline. I won't try to incorporate this step into theCMake
file - it's usually done viaGitHub actions
anyways. -
Link Getting
GitHub actions
to automatically build and host our documentation for us.
Sources
These notes are a compilation of what I learned from these nice sources, so all credit where it's due: