Commit 821a5a7
Restore foundation/* aliases on three pages clobbered by the rename sed
The rename-sed run replaced /foundation/ with /set-up-a-machine/
across all docs files. On three files that had /foundation/*
entries inside their aliases list (not just as body links), this
broke the aliases:
- docs/data/capture-sync/capture-and-sync-data.md
- docs/data/capture-sync/stop-data-capture.md
- docs/hardware/common-components/add-a-camera.md
Each had two alias rows like "/foundation/add-a-camera/" that
redirected users from legacy URLs to the current canonical page.
After my sed, those aliases pointed at /set-up-a-machine/add-a-
camera/, which is not a real URL and does not resolve anywhere.
The no-more-404 Netlify plugin flagged the resulting missing
/foundation/* URLs.
Fixed by restoring the original /foundation/ and /build/foundation/
aliases. Verified locally with make build-prod:
- public/foundation/capture-and-sync-data/index.html OK
- public/foundation/stop-data-capture/index.html OK
- public/foundation/add-a-camera/index.html OK
This is the kind of thing a playbook amendment should catch. The
sed was right for body-text link updates, wrong for alias-list
updates. Future directory renames need a targeted approach that
distinguishes the two, plus a mandatory local make build-prod before
pushing.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 348efb6 commit 821a5a7
3 files changed
Lines changed: 6 additions & 6 deletions
File tree
- docs
- data/capture-sync
- hardware/common-components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments