diff --git a/doc/source/conf.py b/doc/source/conf.py index 809762483..032e55cfe 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -111,6 +111,11 @@ # This file should be a Windows icon file (.ico) being 16x16 or 32x32 pixels large. # html_favicon = None +# Do not document the attributes holding a class's namespace. Their reprs embed +# frozensets whose order depends on string hashing, which makes the generated +# HTML vary between builds. +autodoc_default_options = {"exclude-members": "__dict__, __weakref__"} + # Add any paths that contain custom static files (such as style sheets) here, relative # to this directory. They are copied after the builtin static files, so a file named # "default.css" will overwrite the builtin "default.css".