Skip to content

Commit 0132021

Browse files
authored
doc: Restructure sphinx doc (#638)
* Create separate top-level categories for PEtab v1 and PEtab v2 * Move tutorial to v1 to accommodate a v2 tutorial (#627) * Fix license formatting * Update links
1 parent f07aacb commit 0132021

17 files changed

Lines changed: 22 additions & 15 deletions

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ A wide range of PEtab examples can be found in the systems biology parameter est
5050
## PEtab support in systems biology tools
5151

5252
For a list of tools supporting PEtab, see the
53-
[PEtab website](https://petab.readthedocs.io/en/latest/software_support.html).
53+
[software support page](https://petab.readthedocs.io/en/latest/v1/software_support.html).
5454

5555

5656
## Using PEtab
5757

5858
If you would like to use PEtab yourself, please have a look at:
5959

60-
* [a PEtab tutorial](https://petab.readthedocs.io/en/latest/tutorial.html)
60+
* [a PEtab tutorial](https://petab.readthedocs.io/en/latest/v1/tutorial/tutorial.html)
6161
going through the individual steps of setting up a parameter estimation
6262
problem in PEtab, independently of any specific software
63-
* [the PEtab format reference](https://petab.readthedocs.io/en/latest/documentation_data_format.html)
63+
* [the PEtab format reference](https://petab.readthedocs.io/en/latest/v1/documentation_data_format.html)
6464
* the example models provided in the
6565
[benchmark collection](https://github.com/Benchmarking-Initiative/Benchmark-Models-PEtab).
6666
* the tutorials provided with each of the softwares supporting PEtab

doc/compile_tutorial.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# Build a pdflatex document from the tutorial
44

5-
pandoc tutorial.rst \
6-
-o tutorial.pdf \
5+
pandoc v1/tutorial/tutorial.rst \
6+
-o tutorial_v1.pdf \
77
-V geometry:margin=1.5in -V geometry:a4paper -V fontsize=10pt \
88
-V urlcolor=cyan \
99
--toc \

doc/index.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,28 @@
33

44
.. toctree::
55
:maxdepth: 3
6-
:caption: Data format
6+
:caption: PEtab v1
77

88
PEtab v1 specs <v1/documentation_data_format.rst>
9+
v1/tutorial/tutorial
10+
v1/software_support
11+
12+
13+
.. toctree::
14+
:maxdepth: 3
15+
:caption: PEtab v2
16+
917
PEtab v2 draft <v2/documentation_data_format.rst>
10-
tutorial
1118

1219
.. toctree::
1320
:maxdepth: 2
1421
:caption: About
1522

16-
software_support
1723
Development <development>
1824
how_to_cite
1925
license
2026
editorial_board
21-
logo/LICENSE.md
27+
Logo <logo/LICENSE.md>
2228

2329

2430
Indices and tables

doc/license.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ License
22
=======
33

44
.. literalinclude:: ../LICENSE
5+
:language: text

doc/src/update_tables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
},
1818
"Tool support": {
19-
"target": doc_dir / "software_support.rst",
19+
"target": doc_dir / "v1" / "software_support.rst",
2020
"options": {
2121
"header-rows": "1",
2222
},
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)