Yaroslav 757f0ec6d0
fix(spec): recent transcoding-related error changes (#1627)
Fix error code mappings table so that http codes correspond to
[`google.rpc.Code`](https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto#L32)-defined
mappings.

Undo changes made in https://github.com/a2aproject/A2A/pull/1600 to
jsonrpc error handling section. The changes made were meant to address
http-grpc transcoding compatibility. I don't see a convincing reason for
forcing jsonrpc error data format, so I assume JSONRPC section was
updated by mistake.

Fixes https://github.com/a2aproject/A2A/issues/1596

---------

Co-authored-by: Darrel <darrmi@microsoft.com>
Co-authored-by: Mike Smith <mikeas@google.com>
2026-04-14 15:37:40 -04:00
..
2026-04-07 13:09:37 -04:00
2026-03-31 09:43:27 -07:00
2026-03-10 11:44:17 -07:00

A2A Docs

https://a2a-protocol.org

Developing A2A docs

  1. Clone this repository and cd into the repository directory
  2. Run pip install -r requirements-docs.txt
  3. Run mkdocs serve, edit .md files, and live preview
  4. Contribute docs changes as usual

How it works

  • The A2A docs use mkdocs and the mkdocs-material theme
  • All of the source documentation / Markdown files related to the A2A docs are in the docs/ directory in the A2A repository
  • mkdocs.yml in the repository root contains all of the docs config, including the site navigation and organization
  • There is a GitHub Action in .github/workflows/docs.yml that builds and publishes the docs and pushes the built assets to the gh-pages branch in this repository using mkdocs gh-deploy --force. This happens automatically for all commits / merges to main.
  • The A2A documentation is hosted in GitHub pages, and the settings for this are in the A2A repository settings in GitHub.

Building the Python SDK Documentation

The Python SDK documentation is built using Sphinx.

Prerequisites

Ensure you have installed the documentation dependencies:

pip install -r ../../requirements-docs.txt

Building the Docs

  1. Run the following command to build the HTML documentation:

    sphinx-build -b html docs/sdk/python docs/sdk/python/api
    
  2. The generated HTML files will be in the sdk/python/api directory. You can open sdk/python/api/index.html in your browser to view the documentation.