Building the docs#
Maintainer notes for regenerating Sphinx assets and cutting a release. End users can ignore this page.
HTML site (offline)#
uv sync --extra docs --dev
make docs
# open docs/_build/html/index.html
CI runs the same Sphinx build; it does not fetch tiles. On pushes to main, the Docs workflow also deploys HTML to GitHub Pages:
https://matthewjwhittle.github.io/tilearray/
Regenerating figures#
Committed PNGs live under docs/_static/guides/.
make docs-artifacts
That rebuilds How it works diagrams (offline) and live usage-guide mosaics (network, polite presets). Commit updated assets when they change.
First open release checklist (0.1.0)#
Do not push the release tag until the items below that need human secrets/clicks are done.
Before tagging#
Version is
0.1.0inpyproject.tomlandsrc/tilearray/_version.py.CHANGELOG
[0.1.0]has a real date (replaceTBD) and no leftover release notes stuck under[Unreleased].Docs CI green; Pages source set to GitHub Actions (repo Settings → Pages).
Confirm hosted docs URL loads after a
maindeploy.Project.urls.Documentationand the README Docs link match the Pages URL.PyPI: create project/token (or Trusted Publisher). Store classic token as repo secret
PYPI_API_TOKENor configure Trusted Publishing for.github/workflows/build.yml/ environmentpypi.
Tag and publish#
git tag -a v0.1.0 -m "tilearray 0.1.0"
git push origin v0.1.0
Or create a GitHub Release for v0.1.0 (same tag). That runs Build and Publish, which uploads to PyPI via uv publish.
After publish#
pip install tilearray==0.1.0in a clean venv and run a quickstart snippet.Check https://pypi.org/project/tilearray/ metadata and Documentation link.
Spot-check the Pages site (install page, one usage guide, API index).