Merge pull request #9 from jcohen02/fix/issue8

Update autodoc conf to prevent expansion of constants
This commit is contained in:
Tom 2022-08-05 13:47:59 +01:00 committed by GitHub
commit 3208981fe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,9 @@ templates_path = ["_templates"]
# This pattern also affects html_static_path and html_extra_path. # This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".pytest_cache"] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".pytest_cache"]
# Preserve default values, don't expand them - prevents replacing default
# values with constants or object representations including a memory address
autodoc_preserve_defaults = True
# -- Options for HTML output ------------------------------------------------- # -- Options for HTML output -------------------------------------------------