Contributing to Documentation
Note
Cheatsheet for anyone who edits, deploys, or rolls back the Evidential docs site
Repo: github.com/evidential-org/evidential-docs
Live site: https://docs.evidential.dev
We use MkDocs to build our project docs, along with the Material theme and custom overrides.
Local setup
-
Install uv
-
Clone and switch to source branch
- Install dependencies
- Install precommit hooks to this repo
- Preview locally
Routine content update & deploy
After publishing changes and merging the PR into the docs branch, the site will be automatically deployed by GitHub Actions via the deploy-docs.yaml workflow.
You can monitor deployment progress in the Actions tab on GitHub.
The docs branch holds the source.
The gh-pages branch holds the built site and the CNAME file.
Safe rollback
Revert a broken deploy. Besides reverting to previous or known commit:
🏷️ Tag known-good states
Before deploying a major change, tag the source commit so you can easily roll back:
You can then revert the live site to that state: