- Run locally: preview while editing
- Publish on GitHub: host the static site using GitHub Pages
.
├─ book.toml
├─ src/
│ ├─ zh/
│ │ ├─ SUMMARY.md
│ │ ├─ README.md
│ │ ├─ guide/
│ │ ├─ hahaha/
│ │ ├─ design/
│ │ ├─ adr/
│ │ ├─ discussions/
│ │ └─ appendix/
│ └─ en/
│ ├─ SUMMARY.md
│ ├─ README.md
│ ├─ guide/
│ ├─ hahaha/
│ ├─ design/
│ ├─ adr/
│ ├─ discussions/
│ └─ appendix/
└─ .github/workflows/deploy.yml (optional)
- For local preview right away: see “Local Preview”
- To keep writing style consistent: see “Writing Style”