@@ -89,5 +89,34 @@ Python dependencies are declared in `pyproject.toml`.
8989- _ package_ dependencies in the ` dependencies ` array in the ` [project] ` section.
9090- _ development_ dependencies in the ` [dependency-groups] ` section.
9191
92- [ semver ] : https://semver.org/
92+ ## Docs
93+
94+ Our documentation lives in the ` docs/ ` directory.
95+ It is written in Markdown, and built with [ MkDocs] .
96+ We use the [ Material for MkDocs] theme.
97+ Every time we merge or make a release,
98+ a GitHub Action runs [ Mike] ,
99+ which commits a new version of the docs to the ` gh-pages ` branch
100+ so that it is deployed to [ GitHub Pages] .
101+
102+ To build the docs locally, you will need the "docs" dependency-group installed
103+ (if you have already installed the "dev" group, you can skip this):
104+
105+ ```
106+ pip install --group docs
107+ ```
108+
109+ Once you have the dependencies installed,
110+ you can serve the docs locally with:
111+
112+ ```
113+ mkdocs serve
114+ ```
115+
116+
117+ [ GitHub Pages ] : https://pages.github.com/
118+ [ Material for MkDocs ] : https://squidfunk.github.io/mkdocs-material/
119+ [ Mike ] : https://github.com/jimporter/mike
120+ [ MkDocs ] : https://www.mkdocs.org/
93121[ keepachangelog ] : https://keepachangelog.com/
122+ [ semver ] : https://semver.org/
0 commit comments