This repository builds a LinkML-based food system indicators model, generates documentation, and publishes the site to GitHub Pages.
src/schema/contains the LinkML schema definition and related configuration files for the data model.data/holds the YAML source data used to describe indicators, scores, categories, and references.project/contains generated model artifacts such as JSON Schema, JSON-LD, SHACL, and other downstream formats.docs/contains the documentation source and generated site content used by MkDocs.src/scripts/contains helper scripts for converting and preparing data for the docs and website.
- Python 3.13+
justinstalled on your system- Internet access to install Python packages
Create and activate a virtual environment, then install the required Python packages:
python -m venv .venv
source .venv/Scripts/activate # Windows Git Bash / WSL
# or: .\.venv\Scripts\Activate.ps1 # PowerShell
pip install -r requirements.txtThe build uses the configuration in config.public.mk and the schema source in src/schema/food_system_indicators.yaml.
Generate the project artifacts and documentation:
just siteThis runs the full build pipeline, including cleaning old output, generating the LinkML project files, creating documentation, and converting the indicator data views.
Useful helper commands:
just convert # convert YAML indicator data to the JSON views used by the docs
just validate # validate the data against the schema
just serve # start the local MkDocs siteTo build the documentation locally:
just site
just serve