From 3ff18812d8d80b2016ceeea98c808a76cae85e48 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 31 Jul 2022 10:33:30 -0400 Subject: [PATCH] exclude __new__ due to Generic this method seems to be coming out everywhere and it's just noise Change-Id: I8fabb462d5faebb156b147fbd8f89dbb1b1ba380 --- doc/build/conf.py | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.47.2