Skip to content

The agent engineering platform.

infra: remove prints from notebook build (#21688)

Erick Friis3ee074738219
diff --git a/docs/scripts/notebook_convert.py b/docs/scripts/notebook_convert.py
index 97f2dca253..af3a0e576d 100644
--- a/docs/scripts/notebook_convert.py
+++ b/docs/scripts/notebook_convert.py
@@ -84,12 +84,8 @@ class CustomRegexRemovePreprocessor(Preprocessor):
pattern = re.compile(r"(?s)(?:\s*\Z)|(?:.*#\s*\|\s*output:\s*false.*)")
rtn = not pattern.match(cell.source)
if not rtn:
- print("--remove--")
- print(cell.source)
return False
else:
- print("--keep--")
- print(cell.source)
return True
def preprocess(self, nb, resources):