diff --git a/docs/docs_skeleton/generate_api_reference_links.py b/docs/docs_skeleton/generate_api_reference_links.py index 4dc52bd88d..22b2dd3d16 100644 --- a/docs/docs_skeleton/generate_api_reference_links.py +++ b/docs/docs_skeleton/generate_api_reference_links.py @@ -10,7 +10,7 @@ import argparse logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) # Base URL for all class documentation -_BASE_URL = "https://api.python.langchain.com/en/latest" +_BASE_URL = "https://api.python.langchain.com/en/latest/" # Regular expression to match Python code blocks code_block_re = re.compile(r"^(```python\n)(.*?)(```\n)", re.DOTALL | re.MULTILINE)