mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 03:59:42 +00:00
docs: make build less verbose (#26833)
This commit is contained in:
@@ -48,10 +48,8 @@ def _generate_related_links_section(integration_type: str, notebook_name: str):
|
||||
|
||||
def _process_path(doc_path: Path):
|
||||
content = doc_path.read_text()
|
||||
print(doc_path)
|
||||
pattern = r"/docs/integrations/([^/]+)/([^/]+).mdx?"
|
||||
match = re.search(pattern, str(doc_path))
|
||||
print(bool(match))
|
||||
if match and match.group(2) != "index":
|
||||
integration_type = match.group(1)
|
||||
notebook_name = match.group(2)
|
||||
|
Reference in New Issue
Block a user