Skip to content

Commit

Permalink
Restructure sphinx doc (#1978)
Browse files Browse the repository at this point in the history
* 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/)
  • Loading branch information
dweindl committed Feb 7, 2023
1 parent a7452ee commit 466a4ff
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 24 deletions.
2 changes: 2 additions & 0 deletions documentation/CPP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ C++ interface

.. toctree::
:maxdepth: 2
:caption: C++


Installation <cpp_installation>
Usage <cpp_interface>
Expand Down
1 change: 1 addition & 0 deletions documentation/MATLAB.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Matlab interface

.. toctree::
:maxdepth: 2
:caption: MATLAB

Installation <matlab_installation>
Usage <matlab_interface>
Expand Down
2 changes: 2 additions & 0 deletions documentation/PYTHON.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ Python interface

.. toctree::
:maxdepth: 2
:caption: Python

Installation <python_installation>
Examples <python_examples>
Usage <python_interface>
FAQ <python_faq>
API reference <python_modules>
10 changes: 3 additions & 7 deletions documentation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,9 @@ Welcome to AMICI's documentation!
glossary
contributing

.. toctree::
:maxdepth: 2
:caption: User's guide

PYTHON
CPP
MATLAB
.. include:: PYTHON.rst
.. include:: CPP.rst
.. include:: MATLAB.rst

.. toctree::
:maxdepth: 2
Expand Down
18 changes: 18 additions & 0 deletions documentation/python_examples.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Examples
========

Various example notebooks.

.. image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/AMICI-dev/AMICI/develop?labpath=binder%2Foverview.ipynb

.. toctree::
:maxdepth: 1

GettingStarted.ipynb
ExampleSteadystate.ipynb
petab.ipynb
ExampleExperimentalConditions.ipynb
ExampleEquilibrationLogic.ipynb
example_errors.ipynb
example_large_models/example_performance_optimization.ipynb
17 changes: 0 additions & 17 deletions documentation/python_interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,23 +134,6 @@ SED-ML import
We also plan to implement support for the
`Simulation Experiment Description Markup Language (SED-ML) <https://sed-ml.org/>`_.

Examples
========

.. image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/AMICI-dev/AMICI/develop?labpath=binder%2Foverview.ipynb

.. toctree::
:maxdepth: 1

GettingStarted.ipynb
ExampleSteadystate.ipynb
petab.ipynb
ExampleExperimentalConditions.ipynb
ExampleEquilibrationLogic.ipynb
example_errors.ipynb
example_large_models/example_performance_optimization.ipynb

Environment variables affecting model import
============================================

Expand Down

0 comments on commit 466a4ff

Please sign in to comment.