We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5997b9c commit 662a46aCopy full SHA for 662a46a
1 file changed
docs/conf.py
@@ -36,6 +36,7 @@
36
'sphinx.ext.autosummary',
37
'sphinx.ext.intersphinx',
38
'sphinx.ext.napoleon',
39
+ 'sphinx_autodoc_typehints', # https://github.com/tox-dev/sphinx-autodoc-typehints/issues/15
40
]
41
42
# Add any paths that contain templates here, relative to this directory.
@@ -67,6 +68,12 @@
67
68
69
# -- Extension configuration -------------------------------------------------
70
71
+# https://github.com/tox-dev/sphinx-autodoc-typehints
72
+always_use_bars_union = True
73
+typehints_use_signature = True
74
+typehints_use_signature_return = True
75
+
76
77
# -- Options for intersphinx extension ---------------------------------------
78
79
# Example configuration for intersphinx: refer to the Python standard library.
0 commit comments