GitHub Pages
English | 中文 | 日本語 | 한국어 | Français | Deutsch | Español | Português | Svenska | Suomi | Nederlands
This repository publishes the manual with mdBook and GitHub Pages.
Each language manual is an independent mdBook project. Each language has its
own SUMMARY.md, so the left sidebar only contains pages for the current
language:
manual/
en/
book.toml
SUMMARY.md
introduction.md
quick-start.md
...
zh/
book.toml
SUMMARY.md
introduction.md
quick-start.md
...
ja/
book.toml
SUMMARY.md
introduction.md
quick-start.md
...
ko/
fr/
de/
es/
pt/
sv/
fi/
nl/
Build locally with:
scripts/publish-pages.sh
The generated site is written to:
target/mdbook
Publishing Workflow
The workflow in .github/workflows/pages.yml runs on pushes to main and on
manual dispatch. It:
- Checks out the repository.
- Installs mdBook.
- Runs
scripts/publish-pages.sh. - Uploads
target/mdbookas the Pages artifact. - Deploys the artifact to GitHub Pages.
The published URL is:
https://developerworks.github.io/rust-config-tree/
Crate Release
For the complete commit, push, Pages deploy, and crate publish flow:
scripts/release.sh --execute --message "Release 0.1.3"
Use the crate release helper from the repository root:
scripts/publish-crate.sh
The default mode runs checks and cargo publish --dry-run. To publish to
crates.io after the checks pass. If the current version already exists on
crates.io, the script bumps the patch version automatically:
scripts/publish-crate.sh --execute
Script usage is summarized in scripts/README.md.