Skip to content

Commit 2999e47

Browse files
committed
docs/conf.py: show type hints in signatures
1 parent 879271d commit 2999e47

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@
119119
}
120120

121121
# sphinx-autodoc-typehints
122-
autodoc_typehints = "description" # show type hints in doc body instead of signature
123-
simplify_optional_unions = True
122+
autodoc_typehints = "signature"
124123

125124
# sphinx.ext.napoleon
126125
napoleon_google_docstring = True

0 commit comments

Comments
 (0)