Quick Reference Card
π Common Tasks
Build Everything
# Windows
build.bat
# Linux/Mac
./build.shBuild Single Language
# Chinese
cd zh && quarto render && cd ..
# English
cd en && quarto render && cd ..
# Then copy resources
xcopy /E /I /Y assets docs\assets
xcopy /E /I /Y images docs\images
xcopy /E /I /Y pdf docs\pdfPreview Locally
# Chinese
quarto preview docs/zh
# English
quarto preview docs/en
# Or use browser
# file:///path/to/docs/zh/index.htmlDeploy
git add .
git commit -m "Update content"
git push origin main
# Wait 1-2 minutes, then visit:
# https://JiajunDu-ReSustain.github.io/Clean Build
# Windows
rmdir /s /q docs\zh
rmdir /s /q docs\en
build.bat
# Linux/Mac
rm -rf docs/zh docs/en
./build.shπ File Locations
Edit Content
- Chinese:
zh/*.qmd - English:
en/*.qmd
Edit Styles
- Theme:
styles.scss
Edit Language Switcher
- Script:
assets/lang-switch.js
π§ Troubleshooting
Language switcher not showing?
- Check
docs/assets/lang-switch.jsexists - Rebuild:
build.bator./build.sh - Clear browser cache
Images not loading?
xcopy /E /I /Y images docs\images
xcopy /E /I /Y pdf docs\pdfBuild errors?
- Check Quarto version:
quarto --version - Check YAML syntax in
_quarto.ymlfiles - Ensure youβre in the right directory
π Full Documentation
- BUILD_GUIDE.md - Complete build instructions
- GIT_WORKFLOW.md - Git workflow details
- IMPLEMENTATION_SUMMARY.md - Technical details
π URLs
- English: https://JiajunDu-ReSustain.github.io/en/
- Chinese: https://JiajunDu-ReSustain.github.io/zh/
- Auto: https://JiajunDu-ReSustain.github.io/