mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-31 00:29:57 +00:00
docs: dont document root init (#28592)
This commit is contained in:
parent
9e2abcd152
commit
f943205ebf
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user