Skip to content

Commit

Permalink
Add redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Aug 21, 2024
1 parent 17ef8e5 commit ad199bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ distributed
numpydoc
ipython
sphinx<5
sphinx-reredirects
dask-sphinx-theme>=3.0.0
# FIXME: This workaround is required until we have sphinx>=5, as enabled by
# dask-sphinx-theme no longer pinning sphinx-book-theme==0.2.0. This is
Expand Down
13 changes: 13 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,21 @@
"sphinx.ext.autosummary",
"sphinx.ext.extlinks",
"numpydoc",
"sphinx_reredirects",
]

redirects = {
"interactive": "clusters-interactive.html",
"advanced-tips-and-tricks": "clusters-advanced-tips-and-tricks.html",
"configuration": "clusters-configuration.html",
"howitworks": "clusters-howitworks.html",
"api": "clusters-api.html",
"configuration-setup": "clusters-configuration-setup.html",
"interactive": "clusters-interactive.html",
"configurations": "clusters-configuration-examples.html",
"examples": "clusters-example-deployments.html",
}

autosummary_generate = True

numpydoc_class_members_toctree = True
Expand Down

0 comments on commit ad199bd

Please sign in to comment.