Building Documentation Locally

The documentation is built with Sphinx and hosted on GitHub Pages. The dev environment (pixi shell) includes all necessary tools so no extra installation is needed.

Raw commands

If you prefer running the commands directly without pixi tasks (e.g. inside an active pixi shell), the equivalent steps are:

sphinx-build docs docs/_build/html
cd docs/_build/html
python -m http.server 8000

Then open http://127.0.0.1:8000 in your browser. Use a different port number if 8000 is already in use on your machine.

Live Preview

For a live-reloading preview while editing, use sphinx-autobuild (install it separately if needed):

pip install sphinx-autobuild
sphinx-autobuild docs docs/_build/html

Structure

The documentation source lives in the docs/ directory:

File / folder

Purpose

conf.py

Sphinx configuration

index.md

Landing page and top-level toctree

get_started/

Installation instructions

preprocessing.md

Pre-processing examples

execution.md

Execution examples

postprocessing/

Post-processing and map plotting

developing/

Developer documentation (this section)

about.md

About page

Pages are written in MyST Markdown, which extends standard Markdown with Sphinx directives.