Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken redirects on the website #10774

Merged
merged 2 commits into from Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/source/conf.py
Expand Up @@ -42,8 +42,16 @@
"sphinx_tabs.tabs",
"testcode_block",
"nbsphinx",
"sphinx_reredirects",
]

# Redirects definition in the form of ``("source", "target")``.
# Note that the target is relative to the path of the source and that the
# target must define the final url (i.e. no trailing slash).
redirects = {
"registry": "model-registry.html",
}

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]

Expand Down
4 changes: 0 additions & 4 deletions docs/source/registry.rst

This file was deleted.

4 changes: 3 additions & 1 deletion requirements/doc-min-requirements.txt
Expand Up @@ -7,4 +7,6 @@ flask<=2.2.5
sphinx-autobuild
sphinx-click
# to be compatible with docutils==0.16
sphinx-tabs==3.2.0
sphinx-tabs==3.2.0
# redirect handling
sphinx-reredirects==0.1.3