summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-09-08 16:59:54 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-09-08 16:59:54 -0500
commitef6d9013e34712973af73e58a97ef9eb60a904bd (patch)
tree1de206c9ce2d5cec45cc5e1c5f685cc2a4abc579 /docs
parent09a9371fdf84d5c84626b31a46befaa3646eb4a9 (diff)
downloadrequests-cache-ef6d9013e34712973af73e58a97ef9eb60a904bd.tar.gz
Use sphinx_autodoc_typehints extension instead of autodoc's built-in type hints
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 4bb138f..4e45871 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -84,6 +84,10 @@ copybutton_prompt_is_regexp = True
# Generate labels in the format <page>:<section>
autosectionlabel_prefix_document = True
+# Use sphinx_autodoc_typehints extension instead of autodoc's built-in type hints
+autodoc_typehints = 'none'
+always_document_param_types = True
+
# Use apidoc to auto-generate rst sources
apidoc_module_dir = PACKAGE_DIR
apidoc_output_dir = 'modules'