Skip to content

Commit 57e4dc0

Browse files
authored
fix: rename variables/ to Variables/ to avoid slot page collision (#23)
1 parent 499819d commit 57e4dc0

5 files changed

Lines changed: 6 additions & 5 deletions

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ gendoc: $(DOCDIR)
231231
cp $(DEST)/jsonld/context.jsonld $(DOCDIR)/context.jsonld
232232
@# Rewrite auto-generated links to section summary pages so they resolve
233233
@# to our custom explainer indexes instead of 404ing
234-
@for section in getting-started projects-experiments datasets variables instruments-calibration; do \
234+
@# Note: 'variables' and 'datasets' excluded — they now have real slot pages
235+
@for section in getting-started projects-experiments instruments-calibration; do \
235236
find $(DOCDIR) -name '*.md' -maxdepth 2 -exec sed -i.bak "s|]($$section\.md)|]($$section/index.md)|g" {} \; ; \
236237
done
237238
@find $(DOCDIR) -name '*.md.bak' -delete

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ nav:
4444
- InterventionWithTracer: InterventionWithTracer.md
4545
- Model: Model.md
4646
- Datasets:
47-
- datasets/index.md
47+
- Datasets/index.md
4848
- FieldDataset: FieldDataset.md
4949
- ModelOutputDataset: ModelOutputDataset.md
5050
- Variables:
51-
- variables/index.md
51+
- Variables/index.md
5252
- InSituVariable: InSituVariable.md
5353
- MeasuredVariable: MeasuredVariable.md
5454
- CalculatedVariable: CalculatedVariable.md
File renamed without changes.
File renamed without changes.

src/docs/files/getting-started/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ The [OAE Data Management Protocol](https://www.carbontosea.org/oae-data-protocol
1616

1717
This site is the technical reference for the protocol's machine-readable schema — the formal data model that defines how OAE metadata is structured, validated, and exchanged. Use it to:
1818

19-
- Understand the [variable class hierarchy](../variables/) and how to describe different measurement types
20-
- Look up required fields for [experiments](../projects-experiments/), [datasets](../datasets/), and [instruments](../instruments-calibration/)
19+
- Understand the [variable class hierarchy](../Variables/) and how to describe different measurement types
20+
- Look up required fields for [experiments](../projects-experiments/), [datasets](../Datasets/), and [instruments](../instruments-calibration/)
2121
- Browse [controlled vocabularies](../vocabularies.md) used across the protocol
2222
- Reference the [full schema index](../OAEDataSchema.md) for every class, slot, and enum
2323

0 commit comments

Comments
 (0)