docs: add sphinx_autodoc_typehints dep

This commit is contained in:
mathieui 2020-12-10 19:21:56 +01:00
parent 95d40a3ca3
commit 155fc58a22
2 changed files with 6 additions and 1 deletions

View file

@ -30,7 +30,11 @@ release = ".".join(version.split(".")[0:2])
# Add any Sphinx extension module names here, as strings. They can be extensions # Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. # 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. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']

1
docs/requirements.txt Normal file
View file

@ -0,0 +1 @@
sphinx-autodoc-typehints