rerun_cpp/docs/writing_docs.md
A high-level overview of writing and previewing the Rerun C++ documentation.
Build the docs using:
pixi run -e cpp cpp-docs
They then can be locally viewed at rerun_cpp/docs/html/index.html
Our online documentation is generated in the same way as above and exists as GCS bucket hosted publicly on the https://ref.rerun.io domain.
Every commit that lands to main will generate bleeding edge documentation to docs/cpp/main.
Releases will push to a version instead: docs/cpp/0.23.3
Docs are processed by the MkDoxy plugin
which internally runs Doxygen to extra the docs.
There's many different ways of styling Doxygen compatible comments. We stick to the following styles:
/// for doc comments\ for starting doxygen commands\brief, instead write a single line brief description at the top, leave a newline and continue with the detailed description.\private
/// \cond private
...
/// \endcond
Collection use rerun::Collection.
Both works usually but the latter makes it easier to understand what is meant.