diff --git a/docs/conf.py b/docs/conf.py index fb1d598a..17b3ff49 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,6 +42,7 @@ def __getattr__(self, name): "sphinx.ext.autodoc", "sphinx.ext.doctest", "sphinx.ext.viewcode", + "sphinx_autodoc_typehints", ] # Add any paths that contain templates here, relative to this directory. diff --git a/setup.cfg b/setup.cfg index 2f29292e..63d3ac65 100644 --- a/setup.cfg +++ b/setup.cfg @@ -71,6 +71,7 @@ sasl = docs = Sphinx>=1.2.2 + sphinx-autodoc-typehints>=1 typing = mypy>=0.991