Skip to content

📜 Render the workspace changelog as a docs page#163

Merged
bdsoha merged 1 commit into
mainfrom
feature/public-release-surface
Jun 23, 2026
Merged

📜 Render the workspace changelog as a docs page#163
bdsoha merged 1 commit into
mainfrom
feature/public-release-surface

Conversation

@bdsoha

@bdsoha bdsoha commented Jun 23, 2026

Copy link
Copy Markdown
Member

Part 3/3 of 2026-q2-50 public-release-surface (ws-docs leg). Depends on the workspace + ws-meta PRs (which route the synced CHANGELOG.md here).

Adds a public Changelog page, fed by the synced workspace/CHANGELOG.md through the house data→generator→partial pattern.

Changes

  • scripts/generate-changelog.mjs (new) — strips git-cliff's # Changelog header from .vitepress/data/CHANGELOG.md into a gitignored docs/partials/changelog.md (graceful placeholder when the data file isn't synced yet). Mirrors generate-fs-manifest.mjs.
  • scripts/generate-all.mjs — register the generator (runs on prebuild).
  • docs/changelog.md (new) — thin hand-authored host page (frontmatter + heading + @include of the partial). Normally linted.
  • docs/partials/.gitignore — add changelog.md (generated, like every other partial).
  • .vitepress/_nav.ts + _sidebar.ts — add the Changelog entry.
  • .vitepress/data/CHANGELOG.md — seed the first arrival.

No lint-ignore

The workspace .cliff.toml now emits markdownlint-clean output (companion PR), so the synced data file lints as a normal tracked file — no .markdownlintignore and no .prettierignore (prettier isn't in this repo's toolchain). Full pre-commit run --all-files is green; docs:build renders the page (v0.4.0 → v0.2.0).

Placement

/changelog (root-level top-level segment) — a standalone reference surface, peer to /editor, /tools; not nested under /pages (intro prose). Nelson-confirmed.

Add a Changelog page fed by the synced workspace CHANGELOG.md via the
house data→generator→partial pattern:

- generate-changelog.mjs strips the git-cliff '# Changelog' header into a
  gitignored docs/partials/changelog.md (placeholder when unsynced).
- docs/changelog.md host page owns frontmatter + heading + the include.
- registered in generate-all.mjs; nav + sidebar entries added.
- seed .vitepress/data/CHANGELOG.md with the first arrival.

No lint-ignore: the workspace .cliff.toml now emits markdownlint-clean
output, so the synced data lints as a normal tracked file.
@bdsoha bdsoha merged commit 2ffc3f3 into main Jun 23, 2026
4 checks passed
@bdsoha bdsoha deleted the feature/public-release-surface branch June 23, 2026 18:52
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.

1 participant