Skip to content

Commit be51274

Browse files
committed
fix: better handling of type in docstring.
1 parent 755f0d8 commit be51274

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@
6868
# autosummary_imported_members = True
6969
autodoc_inherit_docstrings = True
7070
autodoc_member_order = "bysource"
71-
autodoc_typehints = "description"
71+
autodoc_typehints = "both"
72+
autodoc_typehints_description_target = "documented_params"
7273

7374
napoleon_include_private_with_doc = True
7475
napolon_numpy_docstring = True

0 commit comments

Comments
 (0)