Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs-site/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ node_modules/
public/previews/
history.md
latest/
v0.1/
v0.2/
v0.3/
v0.4/
# all reconstructed version snapshots (v0.1 … v0.6 …) — globbed so this list
# never drifts when a new version is added
v[0-9]*/
2 changes: 1 addition & 1 deletion docs-site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ features:
- icon: 🕑
title: Every version, browsable
details: >-
v0.1 through v0.4 reconstructed from git and switchable via the Versions menu —
v0.1 through v0.6 reconstructed from git and switchable via the Versions menu —
with a who-added-what-when authorship page that can never drift.
---
8 changes: 7 additions & 1 deletion docs-site/scripts/generate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ const BASE = process.env.DOCS_BASE ?? '/omadia-ui/';

// Newest first. `commit: null` means "current working tree" (the live latest).
// Commit→version mapping verified against `git log --follow -- docs/visual-spec.md`.
// NOTE: hand-maintained — append a new entry on every visual-spec version bump
// and pin the previous "latest" to its last commit at that version.
const VERSIONS = [
{ id: 'v0.4', dir: 'latest', alias: 'v0.4', label: 'v0.4 (latest)', commit: null,
{ id: 'v0.6', dir: 'latest', alias: 'v0.6', label: 'v0.6 (latest)', commit: null,
title: 'Iconography — three-source model' },
{ id: 'v0.5', dir: 'v0.5', label: 'v0.5', commit: '2c1f83e',
title: 'Lumens & scene visual treatment' },
{ id: 'v0.4', dir: 'v0.4', label: 'v0.4', commit: '50985f5',
title: 'Surface-nesting ladder & chrome budget' },
{ id: 'v0.3', dir: 'v0.3', label: 'v0.3', commit: '78a904b',
title: 'Three-register typography' },
Expand Down
Loading