summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py6
-rw-r--r--docs/requirements.txt1
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 208c0cdf..d9397495 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -30,7 +30,11 @@ release = ".".join(version.split(".")[0:2])
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.intersphinx']
+extensions = [
+ 'sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.intersphinx',
+ 'sphinx_autodoc_typehints',
+]
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
diff --git a/docs/requirements.txt b/docs/requirements.txt
new file mode 100644
index 00000000..1fc9d861
--- /dev/null
+++ b/docs/requirements.txt
@@ -0,0 +1 @@
+sphinx-autodoc-typehints