Skip to content

Commit ad199bd

Browse files
Add redirects
1 parent 17ef8e5 commit ad199bd

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/requirements-docs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ distributed
22
numpydoc
33
ipython
44
sphinx<5
5+
sphinx-reredirects
56
dask-sphinx-theme>=3.0.0
67
# FIXME: This workaround is required until we have sphinx>=5, as enabled by
78
# dask-sphinx-theme no longer pinning sphinx-book-theme==0.2.0. This is

docs/source/conf.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,21 @@
4848
"sphinx.ext.autosummary",
4949
"sphinx.ext.extlinks",
5050
"numpydoc",
51+
"sphinx_reredirects",
5152
]
5253

54+
redirects = {
55+
"interactive": "clusters-interactive.html",
56+
"advanced-tips-and-tricks": "clusters-advanced-tips-and-tricks.html",
57+
"configuration": "clusters-configuration.html",
58+
"howitworks": "clusters-howitworks.html",
59+
"api": "clusters-api.html",
60+
"configuration-setup": "clusters-configuration-setup.html",
61+
"interactive": "clusters-interactive.html",
62+
"configurations": "clusters-configuration-examples.html",
63+
"examples": "clusters-example-deployments.html",
64+
}
65+
5366
autosummary_generate = True
5467

5568
numpydoc_class_members_toctree = True

0 commit comments

Comments
 (0)