Skip to content

Commit 7c7a092

Browse files
committed
set type annotation location
1 parent d1136ad commit 7c7a092

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/conf.py

+3
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@
114114
# Keep cached intersphinx inventories indefinitely
115115
intersphinx_cache_limit = -1
116116

117+
# location of typehints
118+
autodoc_typehints = "description"
119+
117120
# disable specific warnings
118121
nitpick_ignore = [
119122
# Ignore warnings for type aliases. Remove once Sphinx supports PEP613

0 commit comments

Comments
 (0)