Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit a3e2ee5

Browse files
committed
Add redirects support for the documentation builder
1 parent c9350cb commit a3e2ee5

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

poetry.lock

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ sphinxcontrib-mermaid = "^0.8.1"
4242
sphinx-copybutton = "^0.5.2"
4343
toml = "^0.10.2"
4444
sphinx-material = "^0.0.36"
45+
sphinx-reredirects = "^0.1.3"
4546

4647
[build-system]
4748
requires = ["poetry-core>=1.0.0"]

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ soupsieve==2.5 ; python_version >= "3.9" and python_version < "4.0"
3232
sphinx-copybutton==0.5.2 ; python_version >= "3.9" and python_version < "4.0"
3333
sphinx-intl==2.1.0 ; python_version >= "3.9" and python_version < "4.0"
3434
sphinx-material==0.0.36 ; python_version >= "3.9" and python_version < "4.0"
35+
sphinx-reredirects==0.1.3 ; python_version >= "3.9" and python_version < "4.0"
3536
sphinx-rtd-theme==1.3.0 ; python_version >= "3.9" and python_version < "4.0"
3637
sphinx==6.2.1 ; python_version >= "3.9" and python_version < "4.0"
3738
sphinxcontrib-applehelp==1.0.7 ; python_version >= "3.9" and python_version < "4.0"

src/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"sphinx_rtd_theme",
3333
"myst_parser",
3434
"sphinx_copybutton",
35+
"sphinx_reredirects",
3536
]
3637
source_suffix = {
3738
".txt": "restructuredtext",

0 commit comments

Comments
 (0)