mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
fix links generation (#8471)
This commit is contained in:
parent
b65a9414bb
commit
490ad93b3c
@ -10,7 +10,7 @@ import argparse
|
|||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
# Base URL for all class documentation
|
# 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
|
# Regular expression to match Python code blocks
|
||||||
code_block_re = re.compile(r"^(```python\n)(.*?)(```\n)", re.DOTALL | re.MULTILINE)
|
code_block_re = re.compile(r"^(```python\n)(.*?)(```\n)", re.DOTALL | re.MULTILINE)
|
||||||
|
Loading…
Reference in New Issue
Block a user