summaryrefslogtreecommitdiffstats
path: root/docs/source/conf.py
diff options
context:
space:
mode:
authorChase Sterling <chase.sterling@gmail.com>2022-02-02 19:50:12 -0500
committerCalum Lind <calumlind+deluge@gmail.com>2022-02-05 17:23:50 +0000
commit4096cdfdfe4fc7e42746cedd868bd7d8fea99f23 (patch)
treef37e22fed61c535f43841a02036123b3b864f1b4 /docs/source/conf.py
parent099077fe20bf329b8e846fda001262f3e8071fd9 (diff)
downloaddeluge-4096cdfdfe4fc7e42746cedd868bd7d8fea99f23.tar.gz
deluge-4096cdfdfe4fc7e42746cedd868bd7d8fea99f23.tar.bz2
deluge-4096cdfdfe4fc7e42746cedd868bd7d8fea99f23.zip
[Core] Document all exported core methods with type hints
Standardize docstrings in core.py to google standard. Remove type hints in docstrings in favor of the ones in method signatures. Use function signature type hints in autodoc generated docs. Closes: https://github.com/deluge-torrent/deluge/pull/359
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r--docs/source/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index f04653e03..9c5853c73 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -48,6 +48,7 @@ extensions = [
'sphinx.ext.coverage',
'sphinxcontrib.spelling',
'myst_parser',
+ 'sphinx_autodoc_typehints',
]
napoleon_include_init_with_doc = True