# Building Documentation ## Build Commands ### English (Default) ```bash make.bat html # Windows make html # Linux/macOS ``` Output: `build/html/` ### Chinese Simplified ```bash make.bat html-zh_CN # Windows make html-zh_CN # Linux/macOS ``` Output: `build/html/zh_CN/` ### Japanese ```bash make.bat html-ja # Windows make html html-ja # Linux/macOS ``` Output: `build/html/ja/` ### Build All Languages ```bash make.bat all # Windows make all # Linux/macOS ``` This creates `build/html/en/`, `build/html/zh_CN/`, and `build/html/ja/`. ## Clean Build Artifacts ```bash make.bat clean # Windows make clean # Linux/macOS ``` This removes the entire `build/` directory. ## Advanced: Clean and Rebuild ```bash make.bat clean && make.bat html # Windows make clean && make html # Linux/macOS ``` ## Build Environment Variables The build system uses the `BUILD_LANGUAGE` environment variable: ```bash # Explicit language specification BUILD_LANGUAGE=zh_CN sphinx-build -b html source build/html/zh_CN ``` ## Build Output After successful build, check: - **English**: `build/html/index.html` - **Chinese**: `build/html/zh_CN/index.html` - **Japanese**: `build/html/ja/index.html` Each build is completely independent and doesn't include other language files.