jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/762680 )
Change subject: [sphinx] show type hints with description ......................................................................
[sphinx] show type hints with description
Change-Id: I4995839e1c337bc7faeba47198a6725306d6f444 --- M docs/conf.py 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/docs/conf.py b/docs/conf.py index d72fff1..d4e3770 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -351,6 +351,9 @@ # # texinfo_no_detailmenu = False
+# Other settings +autodoc_typehints = 'description' +
TOKENS_WITH_PARAM = [ # sphinx