From 731af8919534c30cc9e9766ebf225f9701ced398 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 12 Jun 2026 12:29:39 -0400 Subject: [PATCH 1/3] Upgrade to Hugo 0.163.1; Docsy theme @ main - Pins hugo-extended to 0.163.1. - Updates the Docsy theme module to main (f22a352d, post Hugo-0.163.1 upgrade). --- go.mod | 2 +- go.sum | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 3a2188871e..2e99b518bd 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/google/docsy-example go 1.12 -require github.com/google/docsy/theme v0.0.0-20260611213000-5c5733de6062 // indirect +require github.com/google/docsy/theme v0.0.0-20260612162003-f22a352d4262 // indirect diff --git a/go.sum b/go.sum index 69bc01e796..890e9219d4 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 h1:/iluJkJiyTAdnqrw3Yi9rH2HNHhrrtCmj8VJe7I6o3w= github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= -github.com/google/docsy/theme v0.0.0-20260611213000-5c5733de6062 h1:Wm1KR34lrCA0DLlTfVaVaSNl9IoCFd8Dw7vKiH+5Zqc= -github.com/google/docsy/theme v0.0.0-20260611213000-5c5733de6062/go.mod h1:CGCFFJjc3PAYexPDsQqTbB3/lWnncwlwKLnSQkDaaF0= +github.com/google/docsy/theme v0.0.0-20260612162003-f22a352d4262 h1:DGXSMc4p24g6M1S4cQ43pRdHfUGdlMRjlraSijTABcw= +github.com/google/docsy/theme v0.0.0-20260612162003-f22a352d4262/go.mod h1:CGCFFJjc3PAYexPDsQqTbB3/lWnncwlwKLnSQkDaaF0= github.com/twbs/bootstrap v5.3.8+incompatible h1:eK1fsXP7R/FWFt+sSNmmvUH9usPocf240nWVw7Dh02o= github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/package.json b/package.json index 463ce8a98b..32874b989c 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "devDependencies": { "autoprefixer": "^10.5.0", "cross-env": "^10.1.0", - "hugo-extended": "0.158.0", + "hugo-extended": "0.163.1", "postcss-cli": "^11.0.1", "rtlcss": "^4.3.0" }, From 16f7fb8fbfe69f18f978f36704413ce0bd7741ce Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 12 Jun 2026 12:29:39 -0400 Subject: [PATCH 2/3] Streamline imaging config (Hugo 0.163 deprecation) - Drops the global imaging.quality setting, deprecated in Hugo 0.163.0; quality 75 and anchor smart match Hugo's defaults, so only the genuine override (resampleFilter CatmullRom) is kept. --- hugo.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 44fcc5786e..6524dc6d9c 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -50,8 +50,6 @@ permalinks: # Image processing configuration. imaging: resampleFilter: CatmullRom - quality: 75 - anchor: smart # Language configuration languages: From 0a1efd5c8da6b03e9a92fd224823f7d83b362f13 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 12 Jun 2026 12:45:59 -0400 Subject: [PATCH 3/3] Bump old-Hugo guard config to the current floor (0.158.0) - config.yaml exists solely to give pre-0.110 Hugo (which cannot read hugo.yaml) a clear version-incompatibility warning; pointing its min at the real theme floor directs users to the right target version. --- config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index 9070e384f0..455cdd4cc9 100644 --- a/config.yaml +++ b/config.yaml @@ -1,7 +1,7 @@ # THIS IS A TEST CONFIG ONLY! # FOR THE CONFIGURATION OF YOUR SITE USE hugo.yaml. # -# As of Docsy 0.7.0, Hugo 0.110.0 or later must be used. +# As of Docsy 0.16, Hugo 0.158.0 or later must be used. # # The sole purpose of this config file is to detect Hugo-module builds that use # an older version of Hugo. @@ -12,4 +12,4 @@ module: hugoVersion: extended: true - min: 0.110.0 + min: 0.158.0