diff options
author | Jordan Cook <jordan.cook@pioneer.com> | 2021-09-08 16:59:54 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook@pioneer.com> | 2021-09-08 16:59:54 -0500 |
commit | ef6d9013e34712973af73e58a97ef9eb60a904bd (patch) | |
tree | 1de206c9ce2d5cec45cc5e1c5f685cc2a4abc579 /docs | |
parent | 09a9371fdf84d5c84626b31a46befaa3646eb4a9 (diff) | |
download | requests-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.py | 4 |
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' |