Skip to content

Commit 59e7a59

Browse files
committed
docs: drop the URL redirects for the moved pages
Review call by the maintainer. The docs site's URLs are days old (the /v2/ book shipped just before 2.0.0b1) and v2 is a beta, so there is nothing meaningful to keep alive at the 28 moved pages' old URLs. Remove the mkdocs-redirects plugin, its dependency, and the 28-entry redirect map. Anyone holding a days-old deep link lands on the themed 404 page, which carries the full navigation. The mkdocs-material floor bump that arrived in the same dependency commit stays: navigation.path is enabled in mkdocs.yml and genuinely requires 9.7.0.
1 parent 5462727 commit 59e7a59

3 files changed

Lines changed: 0 additions & 45 deletions

File tree

mkdocs.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -171,36 +171,6 @@ plugins:
171171
- docs/hooks/gen_ref_pages.py
172172
- literate-nav:
173173
nav_file: SUMMARY.md
174-
- redirects:
175-
redirect_maps:
176-
advanced/authorization.md: run/authorization.md
177-
advanced/caching.md: client/caching.md
178-
advanced/deprecated.md: deprecated.md
179-
advanced/identity-assertion.md: client/identity-assertion.md
180-
advanced/multi-round-trip.md: handlers/multi-round-trip.md
181-
advanced/oauth-clients.md: client/oauth-clients.md
182-
advanced/opentelemetry.md: run/opentelemetry.md
183-
advanced/session-groups.md: client/session-groups.md
184-
advanced/subscriptions.md: handlers/subscriptions.md
185-
advanced/uri-templates.md: servers/uri-templates.md
186-
client/protocol-versions.md: protocol-versions.md
187-
installation.md: get-started/installation.md
188-
tutorial/completions.md: servers/completions.md
189-
tutorial/context.md: handlers/context.md
190-
tutorial/dependencies.md: handlers/dependencies.md
191-
tutorial/elicitation.md: handlers/elicitation.md
192-
tutorial/first-steps.md: get-started/first-steps.md
193-
tutorial/handling-errors.md: servers/handling-errors.md
194-
tutorial/index.md: get-started/index.md
195-
tutorial/lifespan.md: handlers/lifespan.md
196-
tutorial/logging.md: handlers/logging.md
197-
tutorial/media.md: servers/media.md
198-
tutorial/progress.md: handlers/progress.md
199-
tutorial/prompts.md: servers/prompts.md
200-
tutorial/resources.md: servers/resources.md
201-
tutorial/structured-output.md: servers/structured-output.md
202-
tutorial/testing.md: get-started/testing.md
203-
tutorial/tools.md: servers/tools.md
204174
- mkdocstrings:
205175
handlers:
206176
python:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ docs = [
8181
"mkdocs-glightbox>=0.4.0",
8282
"mkdocs-literate-nav>=0.6.1",
8383
"mkdocs-material[imaging]>=9.7.0",
84-
"mkdocs-redirects>=1.2.2",
8584
"mkdocstrings-python>=2.0.1",
8685
]
8786
codegen = ["datamodel-code-generator==0.57.0"]

uv.lock

Lines changed: 0 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)