integrate doxygen with sphinx using breathe
This commit is contained in:
@@ -31,7 +31,8 @@ release = '1.0'
|
||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||
# ones.
|
||||
extensions = [
|
||||
'sphinx.ext.imgmath'
|
||||
'sphinx.ext.imgmath',
|
||||
'breathe'
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
@@ -55,7 +56,6 @@ html_theme = 'alabaster'
|
||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||
html_static_path = ['_static']
|
||||
|
||||
|
||||
## Read the docs style:
|
||||
if os.environ.get('READTHEDOCS') != 'True':
|
||||
try:
|
||||
@@ -68,3 +68,12 @@ if os.environ.get('READTHEDOCS') != 'True':
|
||||
|
||||
#def setup(app):
|
||||
# app.add_stylesheet("fix_rtd.css")
|
||||
|
||||
|
||||
# -- Breathe configuration -------------------------------------------------
|
||||
|
||||
breathe_projects = {
|
||||
"LBPM Doxygen": "/home/mcclurej/local/dev/LBPM/doc/xml/"
|
||||
}
|
||||
breathe_default_project = "LBPM Doxygen"
|
||||
breathe_default_members = ('members', 'undoc-members')
|
||||
|
||||
9
docs/source/developerGuide/doxygen/Analysis.rst
Normal file
9
docs/source/developerGuide/doxygen/Analysis.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
###############################################################################
|
||||
Analysis methods
|
||||
###############################################################################
|
||||
|
||||
.. toctree::
|
||||
:glob:
|
||||
:maxdepth: 2
|
||||
|
||||
analysis/*
|
||||
10
docs/source/developerGuide/doxygen/Models.rst
Normal file
10
docs/source/developerGuide/doxygen/Models.rst
Normal file
@@ -0,0 +1,10 @@
|
||||
###############################################################################
|
||||
Models
|
||||
###############################################################################
|
||||
|
||||
.. toctree::
|
||||
:glob:
|
||||
:maxdepth: 2
|
||||
|
||||
models/*
|
||||
|
||||
5
docs/source/developerGuide/doxygen/ScaLBL.rst
Normal file
5
docs/source/developerGuide/doxygen/ScaLBL.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
Scalable Lattice Boltzmann Library (ScalBL)
|
||||
============================================
|
||||
.. doxygenfile:: ScaLBL.h
|
||||
:project: LBPM Doxygen
|
||||
5
docs/source/developerGuide/doxygen/analysis/DCEL.rst
Normal file
5
docs/source/developerGuide/doxygen/analysis/DCEL.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
DCEL
|
||||
============================================
|
||||
.. doxygenfile:: dcel.h
|
||||
:project: LBPM Doxygen
|
||||
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
FlowAdaptor
|
||||
============================================
|
||||
.. doxygenfile:: FlowAdaptor.h
|
||||
:project: LBPM Doxygen
|
||||
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
Minkowski
|
||||
============================================
|
||||
.. doxygenfile:: Minkowski.h
|
||||
:project: LBPM Doxygen
|
||||
5
docs/source/developerGuide/doxygen/analysis/SubPhase.rst
Normal file
5
docs/source/developerGuide/doxygen/analysis/SubPhase.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
SubPhase analysis
|
||||
============================================
|
||||
.. doxygenfile:: SubPhase.h
|
||||
:project: LBPM Doxygen
|
||||
5
docs/source/developerGuide/doxygen/models/ColorModel.rst
Normal file
5
docs/source/developerGuide/doxygen/models/ColorModel.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
Color Model
|
||||
============================================
|
||||
.. doxygenfile:: ColorModel.h
|
||||
:project: LBPM Doxygen
|
||||
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
Free Energy Model
|
||||
============================================
|
||||
.. doxygenfile:: FreeLeeModel.h
|
||||
:project: LBPM Doxygen
|
||||
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
Greyscale Model
|
||||
============================================
|
||||
.. doxygenfile:: GreyscaleModel.h
|
||||
:project: LBPM Doxygen
|
||||
5
docs/source/developerGuide/doxygen/models/MRTModel.rst
Normal file
5
docs/source/developerGuide/doxygen/models/MRTModel.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
Multi-relaxation time (MRT) Model
|
||||
============================================
|
||||
.. doxygenfile:: MRTModel.h
|
||||
:project: LBPM Doxygen
|
||||
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
Ion Model
|
||||
============================================
|
||||
.. doxygenfile:: IonModel.h
|
||||
:project: LBPM Doxygen
|
||||
@@ -0,0 +1,5 @@
|
||||
============================================
|
||||
Poisson Model
|
||||
============================================
|
||||
.. doxygenfile:: PoissonSolver.h
|
||||
:project: LBPM Doxygen
|
||||
@@ -15,4 +15,8 @@ into the framework.
|
||||
|
||||
testingModels/*
|
||||
|
||||
|
||||
doxygen/ScaLBL.rst
|
||||
|
||||
doxygen/Models.rst
|
||||
|
||||
doxygen/Analysis.rst
|
||||
|
||||
Reference in New Issue
Block a user