Skip to content

Pin default Redoc version - #2738

Merged
chalin merged 6 commits into
docsy:mainfrom
chalin:chalin-m24-redoc-pin-2026-0824
Aug 25, 2026
Merged

chalin merged 6 commits into
docsy:mainfrom
chalin:chalin-m24-redoc-pin-2026-0824

Conversation

@chalin

@chalin chalin commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

chalin added 3 commits August 24, 2026 19:13
…g IDs

The katex-version and markmap-version IDs match what Hugo generates
(AGENTS.md: explicit IDs only when they differ); rendered IDs verified
unchanged.
- Partials: the canary-test comment claimed a reassignment check the
  lint-posture test no longer has; reworded to what it pins (bare read,
  no default).
- katex.html: prune section banners and the dead $data dict.
- theme/hugo.yaml: fix comment typo (fo -> for).
Dashes and one-home passes: clean.
The redoc shortcode's script now loads a pinned version from
theme/hugo.yaml (params.redoc.version) instead of the CDN's latest.
Same pattern as the sibling pins (docsy#2703, docsy#2705, docsy#2706): fail-closed
errorf when the param is unset, suppressible warnidf on floating
versions, canary-test row, Renovate customManager entry, docs.
@chalin chalin added this to the 0.17.0 milestone Aug 24, 2026
chalin added 3 commits August 24, 2026 19:21
Redoc 3 moves the CDN script from bundles/redoc.standalone.js to
bundle/redoc.js, which the shortcode URL hardcodes: cap Renovate at <3
and note the manual migration in the maintainer notes. Changelog
maintainers entry now names all four pins.
…hortcode

- Canary: the accepted URL-interpolation form is per-row data (printf
  rows accept %s, literal-src rows require {{ $version }}), closing the
  literal-%s false-clean on redoc and markmap.
- Maintainer notes: the pins' live readers are the script partials plus
  the redoc shortcode; say so instead of 'the partials'.
@chalin
chalin marked this pull request as ready for review August 25, 2026 00:22
@chalin
chalin merged commit 4f4716f into docsy:main Aug 25, 2026
17 checks passed
@chalin
chalin deleted the chalin-m24-redoc-pin-2026-0824 branch August 25, 2026 00:22
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.

Pin the redoc version instead of loading latest

1 participant