docs: replace prints with logger in upload_doc_images_to_r2.py

This commit is contained in:
LIghtJUNction
2026-03-19 23:30:25 +08:00
parent a3371ad6c8
commit 92bae1fdae
253 changed files with 2880 additions and 2875 deletions

1
scripts/fw2hw.sh Normal file
View File

@@ -0,0 +1 @@
find . -name "*.py" -exec sh -c 'uconv -x "Fullwidth-Halfwidth" "$1" > "$1.tmp" && mv "$1.tmp" "$1"' _ {} \;

View File

@@ -74,5 +74,5 @@ class CustomBuildHook(BuildHookInterface):
shutil.rmtree(dist_target)
shutil.copytree(dist_src, dist_target)
logger.info(
f"[hatch_build] Dashboard dist copied {dist_target.relative_to(root)}"
f"[hatch_build] Dashboard dist copied {dist_target.relative_to(root)}"
)