jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[sphinx] show type hints with description

Change-Id: I4995839e1c337bc7faeba47198a6725306d6f444
---
M docs/conf.py
1 file changed, 3 insertions(+), 0 deletions(-)

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

To view, visit change 762680. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I4995839e1c337bc7faeba47198a6725306d6f444
Gerrit-Change-Number: 762680
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged