Build and run agents you can see, understand and trust.
Python agentchatbotlarge-language-modelsllmllm-agentmcpmulti-agentmulti-modalreact-agentrealtime-agentvoice-agentvoice-assistant
feat(docs): refine github workflow to remove unnecessary files in git (#879)
qbcc2c59e56c98c
diff --git a/.gitignore b/.gitignoreindex 6a0ec243f..56edd3304 100644--- a/.gitignore+++ b/.gitignore@@ -136,3 +136,9 @@ dmypy.json# docsdocs/tutorial/en/build/docs/tutorial/zh_CN/build/++# Sphinx build artifacts+docs/tutorial/**/doctrees/+docs/tutorial/**/.doctrees/+*.buildinfo+*.pickle\ No newline at end of filediff --git a/docs/tutorial/en/build.sh b/docs/tutorial/en/build.shindex 40258e648..9ea002d04 100755--- a/docs/tutorial/en/build.sh+++ b/docs/tutorial/en/build.sh@@ -2,8 +2,20 @@set -e+# Clean old build files+rm -rf build/ doctrees/+# Generate the API rst filessphinx-apidoc -o api ../../../src/agentscope -t ../_templates -e# Build the html-sphinx-build -M html ./ build\ No newline at end of file+sphinx-build -M html ./ build++# Remove temporary files (double insurance)+rm -rf build/html/.doctrees+rm -f build/html/.buildinfo+find build/html -name "*.pickle" -delete+find build/html -name "__pycache__" -delete+find build/html -name "*.pyc" -delete++echo "✅ English docs built successfully, temporary files cleaned"\ No newline at end of filediff --git a/docs/tutorial/zh_CN/build.sh b/docs/tutorial/zh_CN/build.shindex 40258e648..0fae4fc91 100755--- a/docs/tutorial/zh_CN/build.sh+++ b/docs/tutorial/zh_CN/build.sh@@ -2,8 +2,20 @@set -e+# Clean old build files+rm -rf build/ doctrees/+# Generate the API rst filessphinx-apidoc -o api ../../../src/agentscope -t ../_templates -e# Build the html-sphinx-build -M html ./ build\ No newline at end of file+sphinx-build -M html ./ build++# Remove temporary files (double insurance)+rm -rf build/html/.doctrees+rm -f build/html/.buildinfo+find build/html -name "*.pickle" -delete+find build/html -name "__pycache__" -delete+find build/html -name "*.pyc" -delete++echo "✅ Chinese docs built successfully, temporary files cleaned"\ No newline at end of file