mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
docs: fix api ref mod links in pkg page (#25447)
This commit is contained in:
parent
2ef9d12372
commit
60b65528c5
@ -281,7 +281,7 @@ def _construct_doc(
|
||||
module_doc = f"""\
|
||||
.. currentmodule:: {package_namespace}
|
||||
|
||||
.. _{module}:
|
||||
.. _{package_namespace}_{module}:
|
||||
"""
|
||||
_members = members_by_namespace[module]
|
||||
classes = [
|
||||
@ -317,7 +317,7 @@ def _construct_doc(
|
||||
"""
|
||||
|
||||
index_autosummary += f"""
|
||||
:ref:`{module}`
|
||||
:ref:`{package_namespace}_{module}`
|
||||
{'^' * (len(module) + 5)}
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user