◐ Shell
clean mode source ↗

Expand site-absolute spec links in generated docstrings to full URLs by maxisbey · Pull Request #2885 · modelcontextprotocol/python-sdk

The vendored schema descriptions link to spec pages with site-absolute
paths like (/specification/2025-11-25/basic/index#meta). Copied verbatim
into the generated per-version docstrings, those links don't resolve from
the rendered API reference, and mkdocs' link validation flags each one as
a warning, so the strict docs build on main aborts (54 warnings, all from
api/mcp/types/v2025_11_25/).

Rewrite site-absolute markdown link targets to full
https://modelcontextprotocol.io/... URLs in the generator's
post-processing and regenerate the 2025-11-25 package. The 2026-07-28
package has no such links and is unchanged.

@maxisbey marked this pull request as ready for review

June 16, 2026 19:39

localden

@maxisbey maxisbey deleted the maxisbey/docs-absolute-spec-links branch

June 16, 2026 20:55