This repository contains the source for the UK Earth Observation Data Hub (EODH) documentation site, built with MkDocs using the Material for MkDocs theme.
- Docs source:
docs/ - MkDocs config:
mkdocs.yml - Published site URL:
https://eodatahub.org.uk/docs/documentation
This repo includes a pixi.toml with the Python dependencies needed to run MkDocs locally.
- Install Pixi: pixi.sh
- From the repo root:
pixi install
pixi run mkdocs serveThen open the local URL printed by MkDocs (typically http://127.0.0.1:8000/).
To build the static site into site/:
mkdocs buildDeployment is handled by GitHub Actions (.github/workflows/ci.yml) on pushes to main/master, using:
mkdocs gh-deploy --forceThis publishes the built site.
- Add/edit pages in
docs/(Markdown and a few Jupyter notebooks). - Navigation is configured in
mkdocs.ymlundernav:. - Assets (images, CSS, JS) live under
docs/assets/,docs/stylesheets/, anddocs/javascripts/.
- Admonitions: Use MkDocs Material admonitions for callouts (notes, warnings, tips). See Admonitions reference.
- Icons/emoji: Prefer clean, monochrome Material icons where it helps readability. See Icons + Emoji reference.
- Consistency: Prefer clean headings, simple lists, and avoid manual line breaks/formatting hacks unless necessary.