From 4cd943d477923f82c801a9300ebc9ef1d34ac11c Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 29 Aug 2023 16:50:05 +0400 Subject: [PATCH] Document type hints individually (cherry picked from commit 915bbd784831ccb84e1559af0f829736652d2e78) --- docs/sphinx/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index 4b26b55ff..94c3b6da3 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -25,6 +25,8 @@ autoclass_content = "both" +autodoc_typehints = "description" + # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"]