GitHub Pages Documentation Site¶
This repository publishes its documentation with MkDocs and GitHub Pages.
Files Involved¶
mkdocs.yml- site configuration and navigationdocs/requirements.txt- documentation build dependencies.github/workflows/docs.yml- build and deploy workflowdocs/- Markdown source files
Local Preview¶
Then open http://127.0.0.1:8000/.
Strict Build¶
The GitHub workflow uses strict mode. Run the same check locally:
Strict mode fails on broken links, missing navigation targets, and other documentation warnings.
Production Publish Flow¶
- In GitHub, go to Settings > Pages.
- Under Build and deployment, set Source to GitHub Actions.
- Push to
main. - The Docs workflow builds and deploys the site.
Site URL¶
The configured site URL is:
Notes¶
- Pull requests build the docs for validation.
- Pushes to
mainbuild and deploy the site. - Keep
mkdocs.ymlnavigation in sync whenever files are added, moved, or removed.