From: Mike Bayer Date: Sun, 31 Jul 2022 14:33:30 +0000 (-0400) Subject: exclude __new__ X-Git-Tag: rel_2_0_0b1~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ff18812d8d80b2016ceeea98c808a76cae85e48;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git exclude __new__ due to Generic this method seems to be coming out everywhere and it's just noise Change-Id: I8fabb462d5faebb156b147fbd8f89dbb1b1ba380 --- diff --git a/doc/build/conf.py b/doc/build/conf.py index 26ab906bb3..951e843b68 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -113,6 +113,10 @@ exclude_patterns = ["build", "**/unreleased*/*", "**/*_include.rst"] autodoc_class_signature = "separated" +autodoc_default_options = { + "exclude-members": "__new__", +} + # enable "annotation" indicator. doesn't actually use this # link right now, it's just a png image zzzeeksphinx_annotation_key = "glossary#annotated-example"