# xly ERP Framework Wiki This repository contains both language versions of the xly ERP framework wiki. The Simplified Chinese documentation is translated from the English version. If the two versions conflict, the English documentation is authoritative. ```text xly-wiki/ ├── en/ English MkDocs project ├── zh/ Simplified Chinese MkDocs project └── site/ shared generated output, ignored by git ``` ## Build ```bash .venv/bin/mkdocs build -f en/mkdocs.yml .venv/bin/mkdocs build -f zh/mkdocs.yml ``` This writes: ```text site/en/ site/zh/ ``` ## Serve Locally Run either language directly: ```bash .venv/bin/mkdocs serve -f en/mkdocs.yml .venv/bin/mkdocs serve -f zh/mkdocs.yml ``` To test the language switcher, build both languages and serve the shared output root: ```bash .venv/bin/mkdocs build -f en/mkdocs.yml .venv/bin/mkdocs build -f zh/mkdocs.yml python3 -m http.server 8000 -d site ``` Then open `http://127.0.0.1:8000/en/` or `http://127.0.0.1:8000/zh/`. For static hosting, publish the shared `site/` directory.