This guide helps maintainers migrate their v2-based comparisons to the v3 fork. It covers both simple single-dataset migrations and multi-dataset reorganizations.
Table of contents
This is the minimal path for small projects that previously relied on the v2 single-flat layout.
mkdir -p datasets/default
cat > datasets/default/dataset.yaml <<'YAML'
name: Default Dataset
id: default
path: datasets/default
title: "Default Dataset"
YAML
datasets:
- id: default
path: datasets/default
title: "Default Dataset"
If you don’t have a top-level config, many v3 tools will auto-detect a single dataset.
Move your data and local configuration (if present) into the dataset directory or set the dataset path to your existing data location.
Re-run the build using the dataset flag if available:
npm run build -- --dataset default
# or
DATASET=default npm run build
Create directories for each dataset and add dataset descriptors (dataset.yaml or dataset.json) with at least id and path.
Move the related data files into each dataset folder. Example:
mkdir -p datasets/project-a datasets/project-b
# move markdown files
git mv data/*.md datasets/project-a/
# repeat for other datasets
Update top-level config to include an entry under datasets: for each dataset.
Update build and CI to run per-dataset. Example pseudo-code:
for id in project-a project-b; do
npm run build -- --dataset "$id"
done
datasets: array to enumerate datasets and provide per-dataset overrides.configuration/ for examples of per-dataset defaults and config fragments.--dataset <id> and --all-datasets (implementation may vary by repo script — check package.json scripts and any custom tooling).docs/<dataset-id>/ or public/<dataset-id>/ depending on CI and configuration.docs/ and place dataset-specific content under docs/<dataset-id>/.id/path).plans/configuration/datasets.manifest.json