Commit 6f8fce3
committed
Expand site-absolute spec links in generated docstrings to full URLs
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.1 parent 65be5a7 commit 6f8fce3
2 files changed
Lines changed: 61 additions & 56 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
201 | 206 | | |
202 | 207 | | |
203 | 208 | | |
| |||
0 commit comments