docs: fix JSON schema download link - #2058
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the download link for the a2a.json schema in docs/definitions.md from a relative path to an absolute URL. The reviewer points out that using an absolute URL pointing to the latest version breaks versioning for older documentation versions, and suggests reverting to the relative path to ensure MkDocs can resolve the version-specific schema correctly.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| <h3>Download</h3> | ||
|
|
||
| You can download the schema file directly: [`a2a.json`](spec/a2a.json) | ||
| You can download the version-specific schema file directly: [`a2a.json`](spec/a2a.json) |
There was a problem hiding this comment.
JLYK. Today this url refers to https://a2a-protocol.org/latest/spec/a2a.proto
Description
docs/definitions.mdlinks to a version-specificspec/a2a.jsonartifact thatis intentionally generated during documentation builds and therefore is not
available from the GitHub source view. Keep that relative link as the primary
download so versioned documentation continues to serve its matching schema,
and add an explicitly labeled link to the official published
latestartifactfor readers viewing the Markdown source on GitHub.
Validation
npx --yes markdownlint-cli docs/definitions.md --config .github/linters/.markdownlint.json.doc-venv/bin/mkdocs buildsite/definitions/index.htmlcontains both theversion-specific relative URL and the official
latestfallback URLhttps://a2a-protocol.org/latest/spec/a2a.jsonreturns HTTP 200git diff --checkChecklist
CONTRIBUTINGGuide.docs(spec):fordocs/specification.md,docs:for other docs, andfeat:/fix:reserved fora2a.proto). See CONTRIBUTING.md for details.bash scripts/format.shfrom the repository root to format)AI assistance
OpenAI Codex was used to inspect the existing schema-generation pipeline,
prepare this documentation change, address review feedback about versioned
documentation, and run the validation listed above.
Fixes #2057 🦕