diff --git a/docs/api_reference/conf.py b/docs/api_reference/conf.py index 4e01aefcbad..d16ed7b2347 100644 --- a/docs/api_reference/conf.py +++ b/docs/api_reference/conf.py @@ -94,6 +94,9 @@ def skip_private_members(app, what, name, obj, skip, options): return True if hasattr(obj, '__doc__') and obj.__doc__ and ':private:' in obj.__doc__: return True + if name == '__init__' and obj.__objclass__ is object: + # dont document default init + return True return None