Skip to content

docs(subpackages): render subpackage changelogs as docs pages - #4311

Merged
d-v-b merged 4 commits into
zarr-developers:mainfrom
d-v-b:zarr-indexing/render-changelog
Sep 3, 2026
Merged

docs(subpackages): render subpackage changelogs as docs pages#4311
d-v-b merged 4 commits into
zarr-developers:mainfrom
d-v-b:zarr-indexing/render-changelog

Conversation

@d-v-b

@d-v-b d-v-b commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This is a Claude-authored PR that updates how our subpackages render their release notes in the docs. It's a self-merge situation.

🤖 AI text below 🤖

The zarr-indexing docs sidebar and landing page linked to CHANGELOG.md on the GitHub main branch, so the docs for any version showed the changelog of main, and the link left the site entirely.

This adds docs/release-notes.md, which includes CHANGELOG.md via pymdownx.snippets with the package root appended to base_path. The root file stays where towncrier, PyPI, and GitHub expect it, and each docs build now renders the release notes for its own version. tests/test_doc_examples.py mirrors the new base path so the include-graph test keeps validating it.

The page is named release-notes.md rather than changelog.md because on a case-insensitive filesystem (macOS) docs/changelog.md shadows CHANGELOG.md and the include resolves to the page itself, rendering empty.

Verified locally with mkdocs build --strict, tests/test_doc_examples.py, and ruff.

packages/zarr-metadata has the same external changelog link and could get the same treatment in a follow-up.

🤖 Generated with Claude Code

d-v-b and others added 2 commits September 3, 2026 12:31
The sidebar and landing page linked to CHANGELOG.md on the GitHub main
branch, so the docs for any version showed the changelog of main. Add
docs/release-notes.md, which includes CHANGELOG.md via pymdownx.snippets
with the package root appended to base_path. The root file stays where
towncrier, PyPI, and GitHub expect it, and each docs build now renders
the release notes for its own version.

The page is named release-notes.md rather than changelog.md because on
a case-insensitive filesystem the latter shadows CHANGELOG.md and the
include resolves to the page itself.

Assisted-by: ClaudeCode:claude-fable-5-1
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Assisted-by: ClaudeCode:claude-fable-5-1
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions github-actions Bot added the needs release notes Automatically applied to PRs which haven't added release notes label Sep 3, 2026
@read-the-docs-community

read-the-docs-community Bot commented Sep 3, 2026

Copy link
Copy Markdown

Documentation build overview

📚 zarr-indexing | 🛠️ Build #34377441 | 📁 Comparing 417bb92 against latest (62ed076)

  🔍 Preview build  

2 files changed
+ release-notes/index.html
± index.html

d-v-b and others added 2 commits September 3, 2026 18:22
Assisted-by: ClaudeCode:claude-fable-5-1
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…page

Same change as for zarr-indexing: the sidebar and landing page linked to
CHANGELOG.md on the GitHub main branch, so the docs for any version
showed the changelog of main. Add docs/release-notes.md, which includes
CHANGELOG.md via pymdownx.snippets with the package root in base_path.
Neither package had the snippets extension enabled, so it is added with
check_paths so an unresolved include fails the build.

Assisted-by: ClaudeCode:claude-fable-5-1
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@d-v-b d-v-b changed the title docs(zarr-indexing): render the changelog as a docs page docs: render subpackage changelogs as docs pages Sep 3, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 zarr-metadata | 🛠️ Build #34377442 | 📁 Comparing 417bb92 against latest (62ed076)

  🔍 Preview build  

2 files changed
+ release-notes/index.html
± index.html

@d-v-b
d-v-b marked this pull request as ready for review September 3, 2026 17:54
@d-v-b d-v-b changed the title docs: render subpackage changelogs as docs pages docs(subpackages): render subpackage changelogs as docs pages Sep 3, 2026
@d-v-b

d-v-b commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

the PR description is out of date. It poses changing subpackages outside of zarr-indexing as a follow-up. but I'm also doing that here.

@d-v-b
d-v-b merged commit 2231b6b into zarr-developers:main Sep 3, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs release notes Automatically applied to PRs which haven't added release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant