diff --git a/docs/conf.py b/docs/conf.py index 6388784..f6badf1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -42,6 +42,7 @@ extensions = [ "sphinx.ext.viewcode", "sphinx.ext.napoleon", "sphinxcontrib.spelling", + "sphinx_autodoc_typehints", ] # Add any paths that contain templates here, relative to this directory. diff --git a/pyproject.toml b/pyproject.toml index 5510324..fe4b5b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,8 @@ test = [ ] docs = [ "sphinx~=2.0", - "sphinxcontrib-spelling~=4.0" + "sphinxcontrib-spelling~=4.0", + "sphinx-autodoc-typehints~=1.10", ] lint = [ "black",