Skip to content

The agent engineering platform.

docs: Add typehints in both signature and description of API docs (#17815)

Christophe Bornet33555e5cbc7f
diff --git a/docs/api_reference/conf.py b/docs/api_reference/conf.py
index e993048fc5..36f34a4459 100644
--- a/docs/api_reference/conf.py
+++ b/docs/api_reference/conf.py
@@ -114,8 +114,8 @@ autodoc_pydantic_field_signature_prefix = "param"
autodoc_member_order = "groupwise"
autoclass_content = "both"
autodoc_typehints_format = "short"
+autodoc_typehints = "both"
-# autodoc_typehints = "description"
# Add any paths that contain templates here, relative to this directory.
templates_path = ["templates"]