Skip to content

Commit 12235cd

Browse files
committed
setup exhale
1 parent 29f6ee5 commit 12235cd

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

doc/conf.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
'sphinx_sitemap',
3232
'sphinxcontrib.bibtex',
3333
'sphinx_multiversion',
34+
'breathe',
35+
'exhale',
3436
]
3537

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

48+
# Setup the breathe extension
49+
breathe_projects = {
50+
"CADET": "./doxyoutput/xml"
51+
}
52+
breathe_default_project = "CADET"
53+
54+
# Setup the exhale extension
55+
exhale_args = {
56+
# These arguments are required
57+
"containmentFolder": "./api",
58+
"rootFileName": "library_root.rst",
59+
"rootFileTitle": "Library API",
60+
"doxygenStripFromPath": "..",
61+
# Suggested optional arguments
62+
"createTreeView": True,
63+
# TIP: if using the sphinx-bootstrap-theme, you need
64+
# "treeViewIsBootstrap": True,
65+
"exhaleExecutesDoxygen": True,
66+
"exhaleDoxygenStdin": "INPUT = ../include",
67+
"verboseBuild": True,
68+
}
69+
4670
# Add any paths that contain templates here, relative to this directory.
4771
templates_path = ['_templates']
4872

doc/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ To cite CADET please use the following publication:
8181
simulation/index
8282
interface/index
8383
.. examples/index
84+
api/library_root
8485
CADET-Match <https://cadet.github.io/CADET-Match/master/index.html>
8586
license
8687
zbibliography
8788
Legal notice <https://www.fz-juelich.de/portal/EN/Service/LegalNotice/_node.html>
8889

89-
90+
.. todolist::

0 commit comments

Comments
 (0)