Skip to content

Bump zensical to 0.0.61 - #310

Merged
Naruto merged 1 commit into
developfrom
docs/bump-zensical-to-0-0-61
Sep 13, 2026
Merged

Bump zensical to 0.0.61#310
Naruto merged 1 commit into
developfrom
docs/bump-zensical-to-0-0-61

Conversation

@Naruto

@Naruto Naruto commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Zensical 0.0.61 is a redirects release — anchor redirects, redirect chains resolved, cycles rejected — plus two relaxed compat validators (autorefs settings, search) and the bundled UI at 0.0.29. None of it fires here yet: mkdocs.base.yml declares the redirects plugin with no redirect_maps:, because nothing has shipped from this site to redirect. So the version was checked by building both locales and diffing every file, not by reading the release notes.

Same change as cri-middleware/SpriteStudio-Docs#61, going into every repo that shares this pin.

Verified

Built en and ja with 0.0.60 and again with 0.0.61, and compared every file:

  • 19 pages per locale. Every page changes, and every page changes in exactly three ways: <meta name="generator">, the bundle.<hash>.min.js filename, and one new "redirect" key in the __config JSON. Normalise those away and every page is identical — no content, no heading, no anchor, no URL moves.
  • search.json and ja/search.json are byte-identical, as are sitemap.xml, ja/sitemap.xml, objects.inv and ja/objects.inv. The Japanese index is the fragile one — it is segmented into words — and this time it is untouched rather than merely equivalent.
  • Two new files: redirect.json and ja/redirect.json, both {}. That is the map the new client-side redirect code fetches; empty, it does nothing.
  • Both locales still build --strict, no new warnings.
  • Dependencies and requires-python unchanged from 0.0.60 — zensical itself is the only line that moves in pip freeze.

CI cannot confirm any of this: nothing builds these docs on a pull request, so the local build is the only gate.

Why bump when nothing moves

Because the moment this matters is the first page or heading that moves, and that is a bad moment to find out a release is bad. Anchor redirects are also the first thing in a while these sites have a use for: a heading's anchor is derived from its text, so renaming one silently breaks every inbound link to it, and redirect_maps: can now carry page.md#oldpage.md#new instead of only whole-page moves.

0.0.61 is a redirects release: anchor redirects, redirect chains resolved
and cycles rejected, so a renamed heading or a split page can keep the
links pointing at it. The redirects plugin is declared here but its map is
empty -- nothing has shipped from this site to redirect yet -- so none of
it fires. The rest of the release loosens two compat validators, for
autorefs settings and for search, and moves the bundled UI to 0.0.29.

Checked by building both locales with 0.0.60 and again with 0.0.61 and
comparing every file, rather than by reading the release notes: 19
pages per locale, and once the generator meta, the bundle hash and one new
__config key are normalised away, every page is identical. No content,
heading, anchor or URL moves. search.json, ja/search.json, sitemap.xml,
ja/sitemap.xml, objects.inv and ja/objects.inv are byte-identical. Both
locales still build --strict with no new warnings, and dependencies and
requires-python are unchanged from 0.0.60.

What the build gains is redirect.json and ja/redirect.json, each holding {}
until a redirect_maps entry exists, and the "redirect" key in every page's
__config that points at them. That is the client half of anchor redirects,
inert while the map is empty.
@Naruto
Naruto merged commit d67c5ac into develop Sep 13, 2026
0 of 2 checks passed
@Naruto
Naruto deleted the docs/bump-zensical-to-0-0-61 branch September 13, 2026 04:42
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