diff options
author | mathieui <mathieui@mathieui.net> | 2020-12-10 19:21:56 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-12-10 19:22:40 +0100 |
commit | 155fc58a22d631746436a81119a94c80d6ea2d2b (patch) | |
tree | 6d39e5fc8241884acf30b209a07ef4cabd80c323 | |
parent | 95d40a3ca336a4e1b66c7ed287ec3f2ef92b201c (diff) | |
download | slixmpp-155fc58a22d631746436a81119a94c80d6ea2d2b.tar.gz slixmpp-155fc58a22d631746436a81119a94c80d6ea2d2b.tar.bz2 slixmpp-155fc58a22d631746436a81119a94c80d6ea2d2b.tar.xz slixmpp-155fc58a22d631746436a81119a94c80d6ea2d2b.zip |
docs: add sphinx_autodoc_typehints dep
-rw-r--r-- | docs/conf.py | 6 | ||||
-rw-r--r-- | docs/requirements.txt | 1 |
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 |