Files
openmlsys-zh/CONTRIBUTING/info_en.md
Yeqi Huang 9c289782cc refactor: split CONTRIBUTING docs into separate CN/EN files (#503)
Split each bilingual CONTRIBUTING file into _en.md and _zh.md variants:
- CONTRIBUTING.md → CONTRIBUTING_en.md + CONTRIBUTING_zh.md
- style.md → style_en.md + style_zh.md
- info.md → info_en.md + info_zh.md
- issue.md → issue_en.md + issue_zh.md
- reference_guide.md → reference_guide_en.md + reference_guide_zh.md

terminology.md kept as-is (bilingual lookup table by nature).

Update README.md to link to _zh.md files, README_EN.md to _en.md files.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 21:51:18 +00:00

40 lines
1.2 KiB
Markdown

# Build & Environment Guide
## Environment Setup
The book is deployed on GitHub using mdbook. We recommend installing mdbook via Rust's native package manager cargo.
```bash
# Install Rust toolchain to get cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install mdbook
```
## Building HTML
Clone the [openmlsys-zh](https://github.com/openmlsys/openmlsys-zh) repository first. All build commands should be run from the repository root.
```bash
git clone https://github.com/openmlsys/openmlsys-zh.git
cd openmlsys-zh
```
Build HTML using mdbook. Please use the build scripts to ensure the homepage is correctly merged into the book.
```bash
sh build_mdbook_v1.sh
sh build_mdbook_v2.sh
```
Build outputs are placed in `.mdbook-v2/book` (English) and `.mdbook-v2-zh/book` (Chinese). The `tools/assemble_docs_publish_tree.py` script assembles the final bilingual publication tree, which is then copied to openmlsys.github.io for deployment.
For the detailed deployment workflow, see `.github/workflows/update_docs.yml`.
## Style Guide
Please follow the project [style guide](style_en.md) when contributing.
## Terminology
Please refer to the [terminology guide](terminology.md) for translations.