Open
Description
Before #1843, NEST used the Breathe extension for Sphinx to extract the Doxygen code comments from the source base. However, the extracted information was not (and still isn't) shown on Read the Docs.
The main task for solving this issue is to decide how and where in the documentation to display the developer level information and making the necessary changes to the configuration and build system. Activating the Breathe extension itself involves the following steps:
- Adding a
Doxyfile
to thedoc
directory. See here for the version that was removed in Fix doc buildsystem #1843. - Adding
"breathe"
to theextensions
list defined indoc/conf.py:L117
- Configuring Breathe in
doc/conf.py
:breathe_projects = {"EXTRACT_MODELS": build_path / "doc/breathe/doxygen/EXTRACT_MODELS/xml"} breathe_projects_source = {"EXTRACT_MODELS": (root_path / "doc", list(root_path.rglob('*.h')))} breathe_default_project = "EXTRACT_MODELS" # I'm not sure if the following is actually needed... subprocess.call('doxygen', shell=True)
- Adding a Breathe directive to one or more RST files in the documentation. An example might be
.. autodoxygenindex:: :project: EXTRACT_MODELS
This issue might or might not have a connection to some of the action items in #1659.
Metadata
Metadata
Labels
Type
Projects
Status
In progress