Skip to content

Lists the upgrading page in the HexDocs sidebar - #268

Merged
johnnyt merged 1 commit into
mainfrom
sp-ricm-upgrading-page-hexdocs
Oct 11, 2026
Merged

johnnyt merged 1 commit into
mainfrom
sp-ricm-upgrading-page-hexdocs

Conversation

@johnnyt

@johnnyt johnnyt commented Oct 11, 2026

Copy link
Copy Markdown
Member

What

docs/upgrading.md is now a HexDocs extra, listed in mix.exs's docs() under its own Upgrading group after the How-to guides, Reference and Explanation groups. Before this change the page was not an extra, so a host reading HexDocs never reached the upgrade guide; only GitHub links did. The router lists its own upgrading page the same way (Upgrading: ["docs/upgrading.md"]).

The comment above the groups names the new group in the family order and is rewrapped; nothing else in mix.exs changes.

What stays the same

  • package()'s files: list is unchanged. The comment above extras asks for a guide in files: only when the README links it relatively, and the README links docs/upgrading.md by its GitHub URL.
  • No changelog fragment: changelog.d/README.md excludes documentation changes.
  • No lib/ change and no test change.

Verification

  • Full mix quality ran green on this tree: Docs reported no warnings, and Doc links passed.
  • A local mix docs build put upgrading.html in the sidebar's Upgrading group. The page's three relative links resolve on HexDocs: ../CHANGELOG.md to changelog.html, retention.md#pruning-one-partition to an anchor that exists on retention.html, and chart-lock.md to chart-lock.html.

Gate run against a local Postgres on port 5432.

Refs: sp-ricm

docs/upgrading.md was not among the docs extras, so a host reading
HexDocs never reached the upgrade guide. It is now an extra under its
own Upgrading group, after the How-to guides, Reference and
Explanation groups, as the router lists its own upgrading page.

The README links the page by its GitHub URL, so package()'s files:
list is unchanged. Docs only: no changelog fragment
(changelog.d/README.md excludes documentation).

Refs: sp-ricm
@johnnyt
johnnyt merged commit 60808e0 into main Oct 11, 2026
1 check passed
@johnnyt
johnnyt deleted the sp-ricm-upgrading-page-hexdocs branch October 11, 2026 08:10
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