Skip to content

Commit bae0c2f

Browse files
authored
Merge pull request #2291 from eamanu/make-doc-reproducible
Make de api reference reproducible
2 parents f6ac084 + 2a176d9 commit bae0c2f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎doc/source/conf.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@
111111
# This file should be a Windows icon file (.ico) being 16x16 or 32x32 pixels large.
112112
# html_favicon = None
113113

114+
# Do not document the attributes holding a class's namespace. Their reprs embed
115+
# frozensets whose order depends on string hashing, which makes the generated
116+
# HTML vary between builds.
117+
autodoc_default_options = {"exclude-members": "__dict__, __weakref__"}
118+
114119
# Add any paths that contain custom static files (such as style sheets) here, relative
115120
# to this directory. They are copied after the builtin static files, so a file named
116121
# "default.css" will overwrite the builtin "default.css".

0 commit comments

Comments
 (0)