feat(changelog): every keel release, newest first, straight from GitHub Releases - #42
Merged
Conversation
…ub Releases
/{en,ar,fr}/changelog/ renders the full release list fetched at build time
into a gitignored content collection — the same never-hand-copied pattern
as the engine docs, no new dependency. Each release gets a version heading
with an anchor, its date, a GitHub link, and the canonical English notes
with headings demoted one level beneath it; an on-this-page TOC lists every
version and the newest carries a chip. ar/fr translate the chrome and say
the notes are English (the engine-docs policy, FR-7/8). A failed fetch
degrades to a plain Releases link, never a broken build.
Nav gains the page after News in all three locales; the Install page links
the full history under the requirements line.
Refs #41
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Closes the changelog workstream of #41 (not the whole issue).
What
scripts/fetch-release.mjsnow also fetches the full release list and writes one markdown file per release into a gitignoredchangelogcontent collection — the engine-docs pattern, no new dependency. Headings in each body are demoted one level so the version heading owns the section./{en,ar,fr}/changelog/: newest first, per-release anchor headings (#v0-10-0), date + GitHub link, an on-this-page TOC of every version, a chip on the newest.Verified locally
npm run build: 44 pages (3 new), 25 releases fetched, TOC + anchors + latest chip present in the emitted HTML.npm run check: 0 errors.Design modeled on docs.jesse.trade/docs/changelog (version + date headings, newest first, on-this-page TOC) in this site's own style.