Skip to content

feat: render the Ordo changelog as a docs page - #36

Open
synchwire wants to merge 2 commits into
mainfrom
feat/changelog-page
Open

feat: render the Ordo changelog as a docs page#36
synchwire wants to merge 2 commits into
mainfrom
feat/changelog-page

Conversation

@synchwire

Copy link
Copy Markdown
Collaborator

Summary

Ordo now generates CHANGELOG.md with git-cliff and ships it in the reference bundle. The release sync writes it here as a Starlight page, so operators have a changelog — the ordo repository and its releases are private, so its own CHANGELOG.md is not a surface they can read.

  • src/content/docs/changelog.md — the page, in the form the sync produces: frontmatter prepended, generated H1 dropped, do-not-edit marker. Overwritten on each release sync.
  • astro.config.mjs — sidebar entry, above Architecture.

Why the page is committed rather than left to the sync

Starlight fails the build with The slug "changelog" specified in the Starlight sidebar config does not exist when a sidebar entry has no matching content entry. So the navigation line cannot land before the first sync writes the file. Committing both together keeps the build green at every point, and the sync overwrites the file from then on.

Verified with npm run build: 101 pages, /changelog/ rendered with the v0.1.0 section and sidebar entry present.

Paired with the ordo-side change that adds git-cliff, cliff.toml, and the bundle artifact.

The changelog is generated in the ordo repository by git-cliff and now
ships in the reference bundle, so the release sync writes it here as
src/content/docs/changelog.md — the same treatment the CLI reference
Markdown gets, with frontmatter prepended.

The page is committed alongside the sidebar entry because Starlight fails
the build when a sidebar slug has no matching entry, so the navigation
line cannot land before the first sync. Later syncs overwrite the file.
@netlify

netlify Bot commented Jul 29, 2026

Copy link
Copy Markdown

Deploy Preview for ordo-docs ready!

Name Link
🔨 Latest commit 3d5656b
🔍 Latest deploy log https://app.netlify.com/projects/ordo-docs/deploys/6a69e670a43b730009a9d838
😎 Deploy Preview https://deploy-preview-36--ordo-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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