mirror of
https://github.com/hwchase17/langchain.git
synced 2025-11-21 22:49:39 +00:00
infra: use nbconvert for docs build (#21135)
todo - [x] remove quarto build semantics - [x] remove quarto download/install - [x] make `uv` not verbose
This commit is contained in:
@@ -185,8 +185,8 @@ def replace_imports(file):
|
||||
# Use re.sub to replace each Python code block
|
||||
data = code_block_re.sub(replacer, data)
|
||||
|
||||
if all_imports:
|
||||
print(f"Adding {len(all_imports)} links for imports in {file}") # noqa: T201
|
||||
# if all_imports:
|
||||
# print(f"Adding {len(all_imports)} links for imports in {file}") # noqa: T201
|
||||
with open(file, "w") as f:
|
||||
f.write(data)
|
||||
return all_imports
|
||||
|
||||
Reference in New Issue
Block a user