feat: upgrade Hugo to 0.164.0 and replace hardcoded copy with positioning data#86
Open
trevor-vaughan wants to merge 1 commit into
Open
feat: upgrade Hugo to 0.164.0 and replace hardcoded copy with positioning data#86trevor-vaughan wants to merge 1 commit into
trevor-vaughan wants to merge 1 commit into
Conversation
CRAP Load AnalysisNo Go code changes detected in this PR. No CRAP impact. |
Member
Author
|
The repo was pretty far out of date so this turned into a bit of an upgrade refactor to get things up to date. |
…ning data Hugo 0.164 required migrating deprecated config keys and template APIs. Hardcoded homepage and getting-started copy was replaced with structured data that templates and a new shortcode render from a single source. - Bump Hugo from 0.155.1 to 0.164.0 in Dockerfile, CI workflows, and Makefile - Migrate config: `languageCode` -> `locale`, `languageName` -> `label`, `excludeFiles` -> `files` syntax, `caches.getjson` -> `caches.getresource`, `site.Data` -> `hugo.Data` - Add data/positioning.yaml with problem, audience, maturity, alternatives, and feature card definitions - Rewrite homepage and getting-started to render from positioning data - Add positioning shortcode for embedding sections in docs pages - Add Makefile prerequisite checks for Go, Node, and Hugo versions - Patch @thulite/doks-core for SCSS `@extend` and `hugo.Data` template fixes - Add sass-embedded with postinstall dart-sass symlink - Override doks-core partials (baseof, stylesheet, favicons, opengraph) - Add jsconfig.json for asset path resolution - Rename CI workflow to "Build", add version comments to pinned action refs - Require Node.js >= 22 (was >= 20.11.0) Fixes: #64 Assisted-by: Claude Opus 4.6 Signed-off-by: Trevor Vaughan <tvaughan@redhat.com>
84edf1c to
11d688e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hugo 0.164 required migrating deprecated config keys and template APIs.
Hardcoded homepage and getting-started copy was replaced with structured
data that templates and a new shortcode render from a single source.
languageCode->locale,languageName->label,excludeFiles->filessyntax,caches.getjson->caches.getresource,site.Data->hugo.Dataand feature card definitions
@extendandhugo.Datatemplate fixesFixes: #64
Signed-off-by: Trevor Vaughan tvaughan@redhat.com