mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-22 14:49:29 +00:00
docs: enable private docstring members sphinx (#28586)
This commit is contained in:
parent
221ab03fe4
commit
4f99952129
@ -80,6 +80,8 @@ def _load_module_members(module_path: str, namespace: str) -> ModuleMembers:
|
|||||||
continue
|
continue
|
||||||
if type_.__module__ != module_path:
|
if type_.__module__ != module_path:
|
||||||
continue
|
continue
|
||||||
|
if ":private:" in (type_.__doc__ or ""):
|
||||||
|
continue
|
||||||
|
|
||||||
if inspect.isclass(type_):
|
if inspect.isclass(type_):
|
||||||
# The type of the class is used to select a template
|
# The type of the class is used to select a template
|
||||||
|
Loading…
Reference in New Issue
Block a user