File tree Expand file tree Collapse file tree 5 files changed +23
-9
lines changed Expand file tree Collapse file tree 5 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ MAN_LINKS = NO
297297#---------------------------------------------------------------------------
298298# Configuration options related to the XML output
299299#---------------------------------------------------------------------------
300- GENERATE_XML = NO
300+ GENERATE_XML = YES
301301XML_OUTPUT = xml
302302XML_PROGRAMLISTING = YES
303303#---------------------------------------------------------------------------
@@ -345,7 +345,7 @@ CLASS_DIAGRAMS = NO
345345MSCGEN_PATH =
346346DIA_PATH =
347347HIDE_UNDOC_RELATIONS = YES
348- HAVE_DOT = YES
348+ HAVE_DOT = NO
349349DOT_NUM_THREADS = 0
350350DOT_FONTNAME = Helvetica
351351DOT_FONTSIZE = 10
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ sphinx-copybutton
44sphinx-design
55sphinx-inline-tabs
66sphinxcontrib-bibtex
7+ breathe
Original file line number Diff line number Diff line change 22Available APIs
33==============
44
5- ``` {todo}
6- Show the different APIs which are currently available in the world builder (temperature, composition and CPO. Others will be added as well.)
7- ```
5+ ``` {eval-rst}
6+ .. doxygenindex::
7+ :outline:
8+ ```
Original file line number Diff line number Diff line change 3939'sphinx_design' ,
4040'sphinx_copybutton' ,
4141'sphinxcontrib.bibtex' ,
42+ 'breathe' ,
4243]
4344
4445bibtex_default_style = 'plain'
4950
5051# Breathe Configuration
5152breathe_default_project = "GWB"
53+ breathe_projects = {"GWB" : "../doxygen/xml" }
5254
5355# Add any paths that contain templates here, relative to this directory.
5456templates_path = ['_templates' ]
8789# Add any paths that contain custom static files (such as style sheets) here,
8890# relative to this directory. They are copied after the builtin static files,
8991# so a file named "default.css" will overwrite the builtin "default.css".
90- html_static_path = ['@CMAKE_CURRENT_SOURCE_DIR@/sphinx/_static/' ]
92+ html_static_path = ['@CMAKE_CURRENT_SOURCE_DIR@/sphinx/_static/' ]
Original file line number Diff line number Diff line change 1010# add these directories to sys.path here. If the directory is relative to the
1111# documentation root, use os.path.abspath to make it absolute, like shown here.
1212#
13- # import os
14- # import sys
13+ import os
14+ import sys
15+ import subprocess
1516# sys.path.insert(0, os.path.abspath('.'))
1617
18+ # -- Run Doxygen first if this is a build on ReadTheDocs
19+
20+ read_the_docs_build = os .environ .get ('READTHEDOCS' , None ) == 'True'
21+
22+ if read_the_docs_build :
23+ os .mkdir ("../doxygen" )
24+ subprocess .call ('cd ../.. ; doxygen doc/doxygen_config.dox' , shell = True )
1725
1826# -- Project information -----------------------------------------------------
1927
3846'sphinx_design' ,
3947'sphinx_copybutton' ,
4048'sphinxcontrib.bibtex' ,
49+ 'breathe' ,
4150]
4251
4352bibtex_default_style = 'plain'
4857
4958# Breathe Configuration
5059breathe_default_project = "GWB"
60+ breathe_projects = {"GWB" : "../doxygen/xml" }
5161
5262# Add any paths that contain templates here, relative to this directory.
5363templates_path = ['_templates' ]
8696# Add any paths that contain custom static files (such as style sheets) here,
8797# relative to this directory. They are copied after the builtin static files,
8898# so a file named "default.css" will overwrite the builtin "default.css".
89- html_static_path = ['_static/' ]
99+ html_static_path = ['_static/' ]
You can’t perform that action at this time.
0 commit comments