Skip to content

docs: add a page linking to the companion packages - #282

Open
d-v-b wants to merge 7 commits into
mainfrom
claude/zarr-issue-4246-readthedocs-533548
Open

docs: add a page linking to the companion packages#282
d-v-b wants to merge 7 commits into
mainfrom
claude/zarr-issue-4246-readthedocs-533548

Conversation

@d-v-b

@d-v-b d-v-b commented Aug 11, 2026

Copy link
Copy Markdown
Owner

🤖 AI text below 🤖

Addresses zarr-developers#4246.

What I found first

No Read the Docs configuration change is needed — the subproject wiring is already done in the RTD dashboard, and RTD already treats the subproject paths as canonical:

https://zarr.readthedocs.io/projects/zarr-metadata/   302 -> .../en/latest/   200
https://zarr.readthedocs.io/projects/zarr-indexing/   302 -> .../en/latest/   200

The built subproject pages emit <link rel="canonical" href="https://zarr.readthedocs.io/projects/zarr-metadata/en/latest/">.

Two things about the literal ask in the issue (an index page at /projects/):

  • RTD cannot serve one. /projects/ is reserved by RTD's subproject resolver; there is no listing page and no setting that adds one. The only related knob is a Business-plan feature that renames or drops the prefix, it does not populate it.
  • The flyout will not list them either. The addons API for the zarr project (/_/addons/?...) returns projects: {current, translations: []} — no subproject list, so there is nothing for the flyout to render.

So this is a docs-content problem rather than a configuration one. Before this PR the only links to the companion packages were two entries at the very bottom of the ~60-entry API Reference nav, pointing at the standalone *.readthedocs.io domains.

Changes

  • New docs/projects.md ("Related Projects"), a top-level nav entry between Examples and API Reference. It builds to /en/latest/projects/ — the closest reachable equivalent of the URL in the issue, since the bare /projects/ prefix is reserved.
  • A card for it on the landing page alongside Quick start / User guide / API Reference.
  • The two API Reference nav entries now point at https://zarr.readthedocs.io/projects/{zarr-metadata,zarr-indexing}/, so following one keeps the reader on this site's domain and matches the canonical URL RTD already advertises.
  • Each subproject's nav gets a zarr-python ↪ link back to the parent docs; previously they only linked back to GitHub.

Verification

  • mkdocs build --strict passes for all three sites (root, zarr-metadata, zarr-indexing) — the same command RTD runs.
  • Confirmed in the built HTML: the new page and its grid cards render, the icons resolve to SVG, the landing-page card links to projects/, and both subproject sites carry the back-link.
  • All six external URLs on the new page return 200.

Not done

An RTD exact redirect /projects/ -> /en/stable/projects/ would make the exact URL from the issue resolve. I left it out: subproject resolution most likely runs before user redirects, so it needs testing against the live project and is not worth blocking this on.

@d-v-b
d-v-b force-pushed the claude/zarr-issue-4246-readthedocs-533548 branch 2 times, most recently from 8476172 to 62b4088 Compare August 11, 2026 16:30
The zarr-metadata and zarr-indexing docs are already Read the Docs
subprojects of zarr-python and resolve under /projects/, but nothing in
the main docs pointed at them except two entries buried at the bottom of
the API Reference nav, which linked to the standalone *.readthedocs.io
domains rather than the /projects/ paths Read the Docs advertises as
canonical.

Add a top-level "Related Projects" page listing each companion package,
surface it as a card on the landing page, repoint the API Reference nav
entries at the canonical subproject URLs, and give each subproject a nav
link back to the parent docs.

The changelog fragment is named for the issue rather than the PR because
the upstream PR number is not known yet; rename it to that number when
this is opened upstream.

Closes zarr-developers#4246

Assisted-by: ClaudeCode:claude-opus-5
@d-v-b
d-v-b force-pushed the claude/zarr-issue-4246-readthedocs-533548 branch from 62b4088 to 177eb51 Compare August 11, 2026 16:50
dependabot Bot and others added 6 commits August 11, 2026 12:16
…y with 5 updates (zarr-developers#4242)

Bumps the python-dependencies group with 4 updates in the / directory: [fsspec](https://github.com/fsspec/filesystem_spec), [hypothesis](https://github.com/HypothesisWorks/hypothesis), [uv](https://github.com/astral-sh/uv) and [ruff](https://github.com/astral-sh/ruff).


Updates `fsspec` from 2026.6.0 to 2026.7.0
- [Commits](fsspec/filesystem_spec@2026.6.0...2026.7.0)

Updates `hypothesis` from 6.160.0 to 6.164.0
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@v6.160.0...v6.164.0)

Updates `uv` from 0.11.31 to 0.12.0
- [Release notes](https://github.com/astral-sh/uv/releases)
- [Changelog](https://github.com/astral-sh/uv/blob/main/CHANGELOG.md)
- [Commits](astral-sh/uv@0.11.31...0.12.0)

Updates `s3fs` from 2026.6.0 to 2026.7.0
- [Changelog](https://github.com/fsspec/s3fs/blob/main/release-procedure.md)
- [Commits](https://github.com/fsspec/s3fs/commits/2026.7.0)

Updates `ruff` from 0.15.22 to 0.16.0
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.15.22...0.16.0)

---
updated-dependencies:
- dependency-name: fsspec
  dependency-version: 2026.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: hypothesis
  dependency-version: 6.163.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: ruff
  dependency-version: 0.16.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: s3fs
  dependency-version: 2026.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
- dependency-name: uv
  dependency-version: 0.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Jones <14077947+maxrjones@users.noreply.github.com>
Co-authored-by: Davis Bennett <davis.v.bennett@gmail.com>
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