summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-28 18:40:53 +0100
committerNejc Habjan <hab.nejc@gmail.com>2021-11-28 18:40:53 +0100
commit5e9c94313f6714a159993cefb488aca3326e3e66 (patch)
tree1e66203983b59a112b3cb34f18f7eb95e6ede1c4 /docs/conf.py
parentb7dde0d7aac8dbaa4f47f9bfb03fdcf1f0b01c41 (diff)
downloadgitlab-5e9c94313f6714a159993cefb488aca3326e3e66.tar.gz
chore(docs): use builtin autodoc hints
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 3d94983..2a1b292 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -42,10 +42,11 @@ extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"ext.docstrings",
- "sphinx_autodoc_typehints", # must be loaded after napoleon modules
"sphinxcontrib.autoprogram",
]
+autodoc_typehints = "both"
+
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]