Skip to content

Update zensical to 0.1.3 - #159

Merged
jonathan343 merged 1 commit into
developfrom
zensical-upgrade
Nov 25, 2026
Merged

jonathan343 merged 1 commit into
developfrom
zensical-upgrade

Conversation

@jonathan343

Copy link
Copy Markdown
Contributor

Summary

Update zensical from 0.0.70 to 0.1.3 and remove the <0.0.71 cap added in #112.

zensical 0.0.71 rejected search fields over a byte limit, which failed on large docstrings like GuardDuty's CreateFilterInput.finding_criteria. zensical 0.0.72 counts tokens instead (zensical/zensical#1046), and our largest field now uses 3,422 of the 4,096 allowed.

The lock file drops deepmerge and adds zensical-ui, which now holds zensical's templates and assets.

Visible changes

  • Long names in "On this page" are truncated with "…" instead of breaking mid-word.
  • Obfuscated mailto: links no longer get a broken ../ prefix (6 pages).
  • Header buttons use hidden text labels for screen readers.
  • UI fixes for code copy, line selection, search scrolling, and back/forward scroll restoration.

Testing

  • make docs passes with no issues. Build time and memory match 0.0.70.
  • All 13,276 pages match the 0.0.70 build apart from the changes above.
  • Screenshots of the home, client, operation, and union pages (light, dark, mobile) show the same main content.
  • scripts/docs/tests pass.

Follow-up

The search field limit halves past 262,144 entries (we have 169,820). If we get close, we can mark the largest sections with data-search-exclude.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

zensical 0.0.72 counts search token positions instead of bytes when
checking field limits (zensical/zensical#1046), so large docstrings such
as GuardDuty's CreateFilterInput.finding_criteria no longer fail the
build. The largest field now uses 3,422 of 4,096 allowed positions.
@jonathan343
jonathan343 marked this pull request as ready for review November 25, 2026 02:44
@jonathan343
jonathan343 requested a review from a team as a code owner November 25, 2026 02:44
@jonathan343
jonathan343 added this pull request to stack #161 November 25, 2026 02:46
@jonathan343
jonathan343 merged commit 4b72ae8 into develop Nov 25, 2026
5 checks passed
@jonathan343
jonathan343 deleted the zensical-upgrade branch November 25, 2026 06:11
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.

2 participants