Skip to content

chore(deps): bump zensical, self-host docs fonts - #2009

Merged
pedrolamas merged 1 commit into
fluidd-core:developfrom
pedrolamas:pedrolamas/zensical-0.0.74
Nov 2, 2026
Merged

pedrolamas merged 1 commit into
fluidd-core:developfrom
pedrolamas:pedrolamas/zensical-0.0.74

Conversation

@pedrolamas

Copy link
Copy Markdown
Member

Summary

  • Bump Zensical from 0.0.71 to 0.0.74
  • Enable the privacy plugin, so the docs serve their own copies of Google Fonts and glightbox from /assets/external/ and visitors no longer request them from third parties
  • Scope it with an assets_include allow-list. The theme bundle also references lazily loaded libraries we never use (pyodide, ace, mermaid, plyr, vimeo), and plyr's pull in Google ad SDKs that fail the --strict build. Unlisted URLs, like the Weblate badge, stay external so the badge keeps updating
  • Update the stale social-card comment, since the crash it described was fixed in 0.0.71
  • Document both plugins in AGENTS.md, including why optimize is not enabled: it requires pngquant on every machine that builds the docs, and TOML config can't enable it for CI only

Test plan

  • zensical build --clean --strict passes
  • Built pages and the JS bundle point at /assets/external/ for the fonts and glightbox; the Weblate badge is still external

🤖 Generated with Claude Code

Update Zensical to 0.0.74 and enable the privacy plugin so visitors no
longer fetch Google Fonts or glightbox from third parties. An include
list scopes it, since the theme bundle references unused libraries
whose ad SDKs fail the strict build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
@pedrolamas pedrolamas added the Code - Deps Pull requests that update a dependency file label Nov 2, 2026
@pedrolamas pedrolamas added this to the 1.37.8 milestone Nov 2, 2026
@pedrolamas
pedrolamas requested a balanced review from Copilot November 2, 2026 10:45
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

Bundle size report (gzip)

Chunk Base Head Δ
assets/index-*.js 164.3 kB 164.2 kB -7 B
assets/System-*.js 2.4 kB 2.4 kB -6 B
sw.js 11.2 kB 11.2 kB -6 B
assets/Configure-*.js 777 B 772 B -5 B
assets/DiskUsageCard-*.js 3.2 kB 3.2 kB -4 B
assets/AfcPrintStartDialogTool-*.js 2.3 kB 2.3 kB -3 B
assets/AppBtnCollapseGroup-*.js 638 B 635 B -3 B
assets/AppNamedSlider-*.js 1.7 kB 1.7 kB -3 B
assets/ConsoleCard-*.js 2.0 kB 2.0 kB -3 B
assets/JobQueueCard-*.js 4.5 kB 4.5 kB -3 B
assets/MacroCategorySettings-*.js 2.0 kB 2.0 kB -3 B
assets/NotFound-*.js 436 B 433 B -3 B
assets/TimelapseRenderSettingsDialog-*.js 1.8 kB 1.8 kB -3 B
assets/FullscreenCamera-*.js 423 B 421 B -2 B
assets/Icons-*.js 529 B 527 B -2 B
assets/AppColorPicker-*.js 13.0 kB 13.0 kB -1 B
assets/BeaconCard-*.js 4.4 kB 4.4 kB -1 B
assets/Diagnostics-*.js 15.9 kB 15.9 kB -1 B
assets/FileSystem-*.js 32.1 kB 32.1 kB -1 B
assets/GcodePreview-*.js 368 B 369 B +1 B
assets/GcodePreviewCard-*.js 14.0 kB 14.0 kB -1 B
assets/History-*.js 4.5 kB 4.5 kB -1 B
assets/JobHistoryItemStatus-*.js 1.2 kB 1.2 kB -1 B
assets/Jobs-*.js 498 B 497 B -1 B
assets/Settings-*.js 23.5 kB 23.5 kB -1 B
assets/Timelapse-*.js 1.9 kB 1.9 kB -1 B
assets/Tune-*.js 3.4 kB 3.4 kB -1 B
Total 2.9 MB 2.9 MB -66 B

120 chunks compared, 27 changed. Sizes are gzip, matching what nginx serves.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The review surfaced no unresolved defects or open concerns on this well-scoped documentation-tooling change, leaving nothing outstanding to block approval.

No open issues 🎉

What changed in this PR

This PR updates the documentation site tooling. It bumps the Zensical static site generator and enables its privacy plugin to self-host the docs' Google Fonts and glightbox assets under /assets/external/, so visitors no longer make third-party requests for them. The plugin is deliberately scoped with an assets_include allow-list rather than exclusions, both to avoid self-hosting unused lazy-loaded theme libraries (whose plyr references would pull in Google ad SDKs that break the --strict build) and to keep the Weblate badge external so it stays live. Supporting documentation (a stale social-card comment and AGENTS.md) is refreshed to match.

Changes:

  • Bump Zensical 0.0.71 → 0.0.74 (docs/requirements.txt).
  • Enable and scope the privacy plugin with an assets_include allow-list for Google Fonts + glightbox; refresh the social-card comment now that the palette crash is fixed (docs/zensical.toml).
  • Document the privacy plugin rationale and why optimize is not enabled in AGENTS.md.
File Description
docs/​requirements.txt Pins Zensical to 0.0.74.
docs/​zensical.toml Adds the [project.plugins.privacy] allow-list to self-host fonts/glightbox and rewrites the stale social-card layout comment.
AGENTS.md Documents the privacy plugin's allow-list rationale, updates the social note, and records why optimize is intentionally off.

Review effort: Balanced

@pedrolamas
pedrolamas merged commit a7e1f2a into fluidd-core:develop Nov 2, 2026
8 checks passed
@pedrolamas
pedrolamas deleted the pedrolamas/zensical-0.0.74 branch November 2, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code - Deps Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants