diff --git a/docs/conf.py b/docs/conf.py index 9448ac1900..11491212e0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -94,6 +94,8 @@ def write_new(): autodoc_member_order = "bysource" autodoc_typehints = "signature" +# Disable overload signature injection to keep docs concise +typehints_document_overloads = False # maybe consider this? # napoleon_attr_annotations = False diff --git a/requirements/docs.txt b/requirements/docs.txt index 32dd5bf5b8..fa9ba6c1c1 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -5,7 +5,7 @@ myst-parser[linkify]==5.0.0 ; python_version >= "3.13" sphinxext-opengraph==0.13.0 ; python_version >= "3.13" sphinx-copybutton==0.5.2 ; python_version >= "3.13" furo==2025.12.19 ; python_version >= "3.13" -sphinx-autodoc-typehints==3.6.3 ; python_version >= "3.13" +sphinx-autodoc-typehints==3.9.2 ; python_version >= "3.13" sphinx-intl==2.3.2 ; python_version >= "3.13" typing_extensions==4.15.0 ; python_version >= "3.13" levenshtein==0.27.3 ; python_version >= "3.13"