Skip to content

build: advance Hugo to 0.168 and Dart Sass - #55

Merged
Vonng merged 1 commit into
mainfrom
codex/hugo-168-sass
Oct 17, 2026
Merged

Vonng merged 1 commit into
mainfrom
codex/hugo-168-sass

Conversation

@Vonng

@Vonng Vonng commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Hugo 0.168 emits a LibSass deprecation that fails the theme’s warning-strict builds. Advance the declared minimum and CI pin together, compile main and ReDoc styles with standalone Dart Sass 1.105.2, and pin the Linux compiler download by SHA-256.

Preserve project-variable import hooks and the separate Font Awesome stylesheet. Scope suppression to four known Bootstrap/legacy-import language deprecations; keep other diagnostics fatal. Use meta.load-css for the conditional dark Chroma palette and fix the invalid adjacent download-channel selector exposed by Dart Sass. Refresh the three reviewed Hugo output goldens.

Validation: all 52 fixture output goldens and full theme CI pass with Hugo Extended 0.168.0 and Dart Sass 1.105.2: https://github.com/pgsty/oink/actions/runs/39041346766 . The integrated theme also passes the companion site’s strict production build, 60 non-browser tests and 365 browser tests. An injected Sass @warn still fails --panicOnWarning.

Included in #56, which preserves this PR’s commit ancestry. Bilingual toolchain documentation is prepared in pgsty/oink.pgsty.com#11. No release tag or downstream adoption is part of this change.

@Vonng
Vonng merged commit 75412bc into main Oct 17, 2026
3 checks passed
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