There was an error while loading. Please reload this page.
1 parent 1953c42 commit b835d57Copy full SHA for b835d57
docs/requirements.txt
@@ -0,0 +1,2 @@
1
+sphinx
2
+sphinx-autodoc-typehints
docs/source/conf.py
@@ -25,6 +25,7 @@
25
# ones.
26
extensions = [
27
'sphinx.ext.autodoc',
28
+ 'sphinx_autodoc_typehints',
29
'sphinx.ext.todo',
30
'sphinx.ext.coverage',
31
'sphinx.ext.viewcode',
@@ -93,6 +94,9 @@
93
94
# If true, keep warnings as "system message" paragraphs in the built documents.
95
#keep_warnings = False
96
97
+# sphinx-autodoc-typehints options
98
+# If True, add stub documentation for undocumented parameters to be able to add type info.
99
+always_document_param_types = True
100
101
# -- Options for HTML output ----------------------------------------------
102
0 commit comments