Skip to content

docs: publish the library changelogs - #650

Draft
tonyandrewmeyer wants to merge 2 commits into
canonical:mainfrom
tonyandrewmeyer:docs/389-changelogs
Draft

tonyandrewmeyer wants to merge 2 commits into
canonical:mainfrom
tonyandrewmeyer:docs/389-changelogs

Conversation

@tonyandrewmeyer

@tonyandrewmeyer tonyandrewmeyer commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Every library has a CHANGELOG.md at its package root, but the only way to read one is to find the right folder in the repo, so nothing on the docs site tells you what changed in a release. This copies each of them into the reference tree during preprocessing and adds a Change logs page to the Reference section, so there's a page per library with the versions as subsections.

Three heading conventions turned out to be in use: most packages go straight to a per-version H1 (# 1.3.0 - 2 June 2026), the interfaces packages open with a prose # Changelog and use H2 for versions, and otlp and sloth use Keep a Changelog with bracketed versions. A leading prose heading is dropped rather than demoted - otherwise those pages get a redundant Changelog section directly under their own title - and any remaining H1 is demoted so each page has exactly one top-level heading. just docs html produces 23 pages and they all come out with a single H1 and version H2s.

Preview.

Fixes #389

Every library has a CHANGELOG.md at its package root, but you can only
read it by finding the right folder in the repo. Copy each one into the
reference tree during preprocessing, under a per-library heading, and
give them a Change logs page in the Reference section.

Three heading conventions are in use: a per-version H1, a prose
"# Changelog" with H2 versions, and Keep a Changelog with bracketed
versions. A leading prose heading is dropped rather than demoted, so
those pages don't carry a redundant Changelog section under their own
title, and any remaining H1 is demoted so each page has one top-level
heading.
@tonyandrewmeyer

Copy link
Copy Markdown
Contributor Author

@james-garner-canonical maybe we could talk about this and #649 together?

Comment thread docs.just Outdated
@james-garner-canonical

Copy link
Copy Markdown
Collaborator

@james-garner-canonical maybe we could talk about this and #649 together?

Sure. I think this one would actually be fine to land essentially as-is, since it only requires the changelogs to be valid markdown. We could standardise accepted formats later, and build fancy things on top of that later if we wanted to.

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.

Publish library change logs in the documentation

2 participants