Skip to content

Commit 57b2217

Browse files
committed
setup exhale
1 parent d65ef97 commit 57b2217

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
@@ -95,9 +95,10 @@ To cite CADET please use the following publication:
9595
simulation/index
9696
interface/index
9797
.. examples/index
98+
api/library_root
9899
CADET-Match <https://cadet.github.io/CADET-Match/master/index.html>
99100
license
100101
zbibliography
101102
Legal notice <https://www.fz-juelich.de/portal/EN/Service/LegalNotice/_node.html>
102103

103-
104+
.. todolist::

0 commit comments

Comments
 (0)