Skip to content

Commit 466a4ff

Browse files
authored
Restructure sphinx doc (#1978)
* Move different interfaces one level up * Add top-level link to Python examples [before](https://amici.readthedocs.io/en/develop/) / [after](https://amici--1978.org.readthedocs.build/en/1978/)
1 parent a7452ee commit 466a4ff

File tree

6 files changed

+26
-24
lines changed

6 files changed

+26
-24
lines changed

documentation/CPP.rst

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ C++ interface
33

44
.. toctree::
55
:maxdepth: 2
6+
:caption: C++
7+
68

79
Installation <cpp_installation>
810
Usage <cpp_interface>

documentation/MATLAB.rst

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Matlab interface
33

44
.. toctree::
55
:maxdepth: 2
6+
:caption: MATLAB
67

78
Installation <matlab_installation>
89
Usage <matlab_interface>

documentation/PYTHON.rst

+2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ Python interface
33

44
.. toctree::
55
:maxdepth: 2
6+
:caption: Python
67

78
Installation <python_installation>
9+
Examples <python_examples>
810
Usage <python_interface>
911
FAQ <python_faq>
1012
API reference <python_modules>

documentation/index.rst

+3-7
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,9 @@ Welcome to AMICI's documentation!
3030
glossary
3131
contributing
3232

33-
.. toctree::
34-
:maxdepth: 2
35-
:caption: User's guide
36-
37-
PYTHON
38-
CPP
39-
MATLAB
33+
.. include:: PYTHON.rst
34+
.. include:: CPP.rst
35+
.. include:: MATLAB.rst
4036

4137
.. toctree::
4238
:maxdepth: 2

documentation/python_examples.rst

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Examples
2+
========
3+
4+
Various example notebooks.
5+
6+
.. image:: https://mybinder.org/badge_logo.svg
7+
:target: https://mybinder.org/v2/gh/AMICI-dev/AMICI/develop?labpath=binder%2Foverview.ipynb
8+
9+
.. toctree::
10+
:maxdepth: 1
11+
12+
GettingStarted.ipynb
13+
ExampleSteadystate.ipynb
14+
petab.ipynb
15+
ExampleExperimentalConditions.ipynb
16+
ExampleEquilibrationLogic.ipynb
17+
example_errors.ipynb
18+
example_large_models/example_performance_optimization.ipynb

documentation/python_interface.rst

-17
Original file line numberDiff line numberDiff line change
@@ -134,23 +134,6 @@ SED-ML import
134134
We also plan to implement support for the
135135
`Simulation Experiment Description Markup Language (SED-ML) <https://sed-ml.org/>`_.
136136

137-
Examples
138-
========
139-
140-
.. image:: https://mybinder.org/badge_logo.svg
141-
:target: https://mybinder.org/v2/gh/AMICI-dev/AMICI/develop?labpath=binder%2Foverview.ipynb
142-
143-
.. toctree::
144-
:maxdepth: 1
145-
146-
GettingStarted.ipynb
147-
ExampleSteadystate.ipynb
148-
petab.ipynb
149-
ExampleExperimentalConditions.ipynb
150-
ExampleEquilibrationLogic.ipynb
151-
example_errors.ipynb
152-
example_large_models/example_performance_optimization.ipynb
153-
154137
Environment variables affecting model import
155138
============================================
156139

0 commit comments

Comments
 (0)