GitHub Pages Deployment
Build locally:
mdbook build docs
The HTML output is generated in docs/book.
Workflow file:
.github/workflows/docs-pages.yml
Repository setup:
Settings -> PagesBuild and deployment -> Source: GitHub Actions- Ensure branch target in workflow matches your default branch
Before first deploy, update:
docs/book.toml -> git-repository-urldocs/book.toml -> edit-url-template