Skip to content

Commit 42bbdde

Browse files
committed
Autodoc typehints
1 parent 36c0b48 commit 42bbdde

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev-requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ black
1010
pex
1111
bump2version
1212
sphinx_rtd_theme
13+
sphinx-autodoc-typehints

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
extensions = [
88
"sphinx.ext.autodoc",
9+
"sphinx_autodoc_typehints", # Must come *after* sphinx.ext.autodoc.
910
"sphinx.ext.autosummary",
1011
"sphinx.ext.coverage",
1112
"sphinx.ext.doctest",
@@ -51,4 +52,3 @@
5152
napoleon_use_param = False
5253

5354
autoapi_dirs = ["../src/marshmallow_union"]
54-

0 commit comments

Comments
 (0)