This folder contains files used to generate the documentation which is available at docs.cppinsights.io. Doxygen is used to generate the documentation.
The documentation can be created with cmake:
There are some pre- and post-processing steps involved.
OptionDocumentationGenerator.cpp is compiled and executed. It parses InsightsOptions.def to generate a list of all C++ Insights options including the help text and the default. For each option there must be a example C++ file in examples. This file is included in help.OptionDocumentationGenerator.py uses the previously generated markdown files and execute the C++ Insights binary for each sample source file and includes the transformation result in the help file as well.Post-processing is done by postProcessDoxygen.py:
target="_blank" for each external link in the generated HTML output.sitemap.xml such that search engines can index docs.cppinsights.io properly.