summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/conf.py3
-rw-r--r--requirements-docs.txt1
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 3d94983..2a1b292 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -42,10 +42,11 @@ extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"ext.docstrings",
- "sphinx_autodoc_typehints", # must be loaded after napoleon modules
"sphinxcontrib.autoprogram",
]
+autodoc_typehints = "both"
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
diff --git a/requirements-docs.txt b/requirements-docs.txt
index a0de789..ecd9d93 100644
--- a/requirements-docs.txt
+++ b/requirements-docs.txt
@@ -4,4 +4,3 @@ myst-parser
sphinx==4.3.1
sphinx_rtd_theme
sphinxcontrib-autoprogram
-sphinx-autodoc-typehints==1.12.0