Skip to content

Commit 02716b3

Browse files
committed
Separate v1 specs and v2 draft; add redirect
1 parent 298ed8b commit 02716b3

File tree

5 files changed

+735
-3
lines changed

5 files changed

+735
-3
lines changed

.rtd_pip_reqs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ sphinxcontrib-qthelp==1.0.7
3636
sphinxcontrib-serializinghtml==1.1.10
3737
urllib3==2.2.1
3838
wheel==0.43.0
39+
sphinx-reredirects==0.1.4

doc/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
'm2r2',
4141
'sphinx.ext.autosummary',
4242
'sphinx_markdown_tables',
43+
'sphinx_reredirects',
4344
]
4445

4546
# Add any paths that contain templates here, relative to this directory.
@@ -71,6 +72,11 @@
7172
'.md': 'markdown',
7273
}
7374

75+
# Redirects for moved files
76+
redirects = {
77+
"documentation_data_format": "v1/documentation_data_format.html",
78+
}
79+
7480
# -- Options for HTML output -------------------------------------------------
7581

7682
# The theme to use for HTML and HTML Help pages. See the documentation for

doc/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
:maxdepth: 3
66
:caption: Data format
77

8-
Data format <documentation_data_format.rst>
8+
PEtab v1 specs <v1/documentation_data_format.rst>
9+
PEtab v2 draft <v2/documentation_data_format.rst>
910
tutorial
1011

1112
.. toctree::

0 commit comments

Comments
 (0)