Build and publish the documentation
The site is a normal ProperDocs project rooted at properdocs.yml with source under docs/.
Build locally:
uv run --group docs properdocs build
Preview while editing:
uv run --group docs properdocs serve
The generated static site is written to site/.
GitHub Pages
.github/workflows/docs.yml runs on pushes to main and on manual dispatch. It:
- checks out the repository;
- installs uv and Python;
- runs the ProperDocs build with the project's docs dependency group;
- uploads
site/as a GitHub Pages artifact; - deploys that artifact in a separate
github-pagesdeployment job.
In the repository settings, select GitHub Actions as the Pages build/deployment source. The workflow needs no generated documentation committed to the repository.