File tree 5 files changed +32
-2
lines changed
5 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ doc/tex/*.gitinfo
71
71
doc /tex /* .synctex.gz
72
72
doc /tex /* .pdf
73
73
doc /tex /docs /* .aux
74
+ doc /doxyoutput /
75
+ doc /api /
74
76
75
77
# ## Ignore IDE files ###
76
78
.vs /
Original file line number Diff line number Diff line change @@ -34,6 +34,6 @@ Ensure you have [mamba](https://mamba.readthedocs.io/en/latest/installation.html
34
34
To build the documentation for all releases and the master branch, run:
35
35
36
36
` ` ` sh
37
- sphinx-multiversion ./ ./build/
37
+ sphinx-multiversion ./ ./build/ -D ' exhale_args.containmentFolder=${sourcedir}/api '
38
38
` ` `
39
39
Original file line number Diff line number Diff line change 32
32
'sphinxcontrib.bibtex' ,
33
33
'sphinx_multiversion' ,
34
34
"myst_parser" ,
35
+ 'breathe' ,
36
+ 'exhale' ,
35
37
]
36
38
37
39
# Bibliography
50
52
smv_remote_whitelist = r"^origin$" # Use branches from remote origin
51
53
smv_outputdir_format = '{ref.name}' # Use the branch/tag name
52
54
55
+ # Setup the breathe extension
56
+ breathe_projects = {
57
+ "CADET" : "./doxyoutput/xml"
58
+ }
59
+ breathe_default_project = "CADET"
60
+
61
+ # Setup the exhale extension
62
+ exhale_args = {
63
+ # These arguments are required
64
+ "containmentFolder" : "./api" ,
65
+ "rootFileName" : "library_root.rst" ,
66
+ "doxygenStripFromPath" : ".." ,
67
+ # Heavily encouraged optional argument (see docs)
68
+ "rootFileTitle" : "Library API" ,
69
+ # Suggested optional arguments
70
+ "createTreeView" : True ,
71
+ # TIP: if using the sphinx-bootstrap-theme, you need
72
+ # "treeViewIsBootstrap": True,
73
+ "exhaleExecutesDoxygen" : True ,
74
+ "exhaleDoxygenStdin" : "INPUT = ../include"
75
+ }
76
+
53
77
# Add any paths that contain templates here, relative to this directory.
54
78
templates_path = ['_templates' ]
55
79
Original file line number Diff line number Diff line change @@ -3,10 +3,13 @@ channels:
3
3
- conda-forge
4
4
dependencies :
5
5
- python=3.11
6
+ - doxygen
6
7
- myst-parser
7
8
- sphinx
8
9
- sphinx-sitemap
9
10
- pip
10
11
- pip :
12
+ - breathe
13
+ - exhale
11
14
- sphinxcontrib-bibtex
12
15
- sphinx_multiversion
Original file line number Diff line number Diff line change @@ -101,9 +101,10 @@ Please refer to the `list of contributors <https://github.com/modsim/CADET/blob/
101
101
simulation/index
102
102
interface/index
103
103
.. examples/index
104
+ api/library_root
104
105
CADET-Match <https://cadet.github.io/CADET-Match/master/index.html >
105
106
license
106
107
zbibliography
107
108
Legal notice <https://www.fz-juelich.de/portal/EN/Service/LegalNotice/_node.html >
108
109
109
-
110
+ .. todolist ::
You can’t perform that action at this time.
0 commit comments