18 lines
409 B
Bash
18 lines
409 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Clean old build files
|
|
rm -rf build/ doctrees/
|
|
|
|
# Build the html
|
|
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" |