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:
Erick Friis
2024-05-07 12:30:17 -07:00
committed by GitHub
parent ad0f3c14c2
commit d5bde4fa91
14 changed files with 262 additions and 216 deletions

View File

@@ -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