mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-23 19:39:58 +00:00
docs: dont document root init (#28592)
This commit is contained in:
@@ -94,6 +94,9 @@ def skip_private_members(app, what, name, obj, skip, options):
|
|||||||
return True
|
return True
|
||||||
if hasattr(obj, '__doc__') and obj.__doc__ and ':private:' in obj.__doc__:
|
if hasattr(obj, '__doc__') and obj.__doc__ and ':private:' in obj.__doc__:
|
||||||
return True
|
return True
|
||||||
|
if name == '__init__' and obj.__objclass__ is object:
|
||||||
|
# dont document default init
|
||||||
|
return True
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user