Skip to content

docs-site: bring the published version list current to v0.6#44

Merged
iret77 merged 1 commit into
mainfrom
feat/docs-site-versions
Jun 20, 2026
Merged

docs-site: bring the published version list current to v0.6#44
iret77 merged 1 commit into
mainfrom
feat/docs-site-versions

Conversation

@iret77

@iret77 iret77 commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Why

The Pages site hardcoded its version list at v0.4 in three places, so it drifted: /latest/ already rendered v0.6 content but was labelled "v0.4 (latest)", and v0.5 + v0.6 were missing from the Versions dropdown and the browsable snapshots. (The v0.5 gap predates the icon work — visual-spec was bumped to v0.5 in #31 without updating the site list.)

What

  • generate.mjslatest → v0.6; pin v0.5 (2c1f83e) and v0.4 (50985f5) as reconstructed snapshots; note the list is hand-maintained per version bump.
  • .gitignore — replace the enumerated v0.1…v0.4 with a v[0-9]*/ glob so the ignore list can't drift again.
  • index.md — hero "v0.1 through v0.4" → "v0.1 through v0.6".

Verified

node docs-site/scripts/generate.mjs → 6 version pages, versions.json has 6 entries (v0.6 latest … v0.1), latest banner reads v0.6.

Follow-up (not in this PR)

The version list is still hand-maintained in two files. A small auto-discovery refactor (derive versions by parsing Version X.Y — from git log of visual-spec.md) would remove this drift class entirely — worth a separate issue.

🤖 Generated with Claude Code

The Pages site hardcoded its version list at v0.4 in three places: generate.mjs
VERSIONS, .gitignore, and index.md. The "latest" page already rendered v0.6
content but was mislabelled "v0.4", and v0.5/v0.6 were missing from the version
dropdown and snapshots (v0.5 drift predates the icon work).

- generate.mjs: latest → v0.6; add v0.5 (2c1f83e) and v0.4 (50985f5) as pinned
  snapshots; note the list is hand-maintained per version bump.
- .gitignore: replace the enumerated v0.1…v0.4 with a `v[0-9]*/` glob so the
  ignore list can't drift again.
- index.md: hero "v0.1 through v0.4" → "v0.1 through v0.6".

Verified: `node scripts/generate.mjs` writes 6 version pages, versions.json has
6 entries, latest banner reads v0.6.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@iret77 iret77 merged commit 90728c0 into main Jun 20, 2026
1 check passed
@iret77 iret77 deleted the feat/docs-site-versions branch June 20, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants