Skip to content

Commit

Permalink
Separate v1 specs and v2 draft; add redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Jul 3, 2024
1 parent 298ed8b commit 02716b3
Show file tree
Hide file tree
Showing 5 changed files with 735 additions and 3 deletions.
1 change: 1 addition & 0 deletions .rtd_pip_reqs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ sphinxcontrib-qthelp==1.0.7
sphinxcontrib-serializinghtml==1.1.10
urllib3==2.2.1
wheel==0.43.0
sphinx-reredirects==0.1.4
6 changes: 6 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
'm2r2',
'sphinx.ext.autosummary',
'sphinx_markdown_tables',
'sphinx_reredirects',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -71,6 +72,11 @@
'.md': 'markdown',
}

# Redirects for moved files
redirects = {
"documentation_data_format": "v1/documentation_data_format.html",
}

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down
3 changes: 2 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
:maxdepth: 3
:caption: Data format

Data format <documentation_data_format.rst>
PEtab v1 specs <v1/documentation_data_format.rst>
PEtab v2 draft <v2/documentation_data_format.rst>
tutorial

.. toctree::
Expand Down
Loading

0 comments on commit 02716b3

Please sign in to comment.