A2A/docs/sdk/python/conf.py
Luca Muscariello b86d8bb2ed
docs: clean up documentation build chain and fix broken links (#1400)
- Move a2a.proto to specification/ root
- Update build scripts and macros to support new proto location
- Fix broken internal links and anchor references in specification.md
- Update .gitignore to properly exclude generated SDK docs
- Configure Sphinx to suppress external SDK warnings
- Fix MkDocs redirects and Python SDK toctree structure

---------

Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2026-01-29 21:00:02 +01:00

34 lines
1.0 KiB
Python

# -- Project information -----------------------------------------------------
project = 'a2a-sdk'
copyright = '2026, The Linux Foundation'
author = 'The Linux Foundation'
# -- General configuration ---------------------------------------------------
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary', # Automatically generate summaries
'sphinx.ext.napoleon', # Support for Google-style docstrings
'myst_parser', # For Markdown support
]
# Tell autosummary to generate stub files
autosummary_generate = True
# Suppress warnings from external SDK package
suppress_warnings = [
'ref.python', # Suppress "more than one target found for cross-reference"
'ref.ref', # Suppress "undefined label"
'toc.not_included', # Suppress "document isn't included in any toctree"
]
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
html_theme = 'furo'
autodoc_member_order = 'alphabetical'