Skip to content

Commit

Permalink
setup exhale
Browse files Browse the repository at this point in the history
  • Loading branch information
schmoelder committed Jul 21, 2023
1 parent d65ef97 commit 57b2217
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
24 changes: 24 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
'sphinx_sitemap',
'sphinxcontrib.bibtex',
'sphinx_multiversion',
'breathe',
'exhale',
]

# Bibliography
Expand All @@ -43,6 +45,28 @@
smv_remote_whitelist = r"^origin$" # Use branches from remote origin
smv_outputdir_format = '{ref.name}' # Use the branch/tag name

# Setup the breathe extension
breathe_projects = {
"CADET": "./doxyoutput/xml"
}
breathe_default_project = "CADET"

# Setup the exhale extension
exhale_args = {
# These arguments are required
"containmentFolder": "./api",
"rootFileName": "library_root.rst",
"rootFileTitle": "Library API",
"doxygenStripFromPath": "..",
# Suggested optional arguments
"createTreeView": True,
# TIP: if using the sphinx-bootstrap-theme, you need
# "treeViewIsBootstrap": True,
"exhaleExecutesDoxygen": True,
"exhaleDoxygenStdin": "INPUT = ../include",
"verboseBuild": True,
}

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
3 changes: 2 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ To cite CADET please use the following publication:
simulation/index
interface/index
.. examples/index
api/library_root
CADET-Match <https://cadet.github.io/CADET-Match/master/index.html>
license
zbibliography
Legal notice <https://www.fz-juelich.de/portal/EN/Service/LegalNotice/_node.html>


.. todolist::

0 comments on commit 57b2217

Please sign in to comment.