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.
marked this pull request as ready for review
maxisbey
deleted the
maxisbey/docs-absolute-spec-links
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters