From e5b9214bee53ae3c01e21aefdef94406a555df62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Mon, 9 Jun 2025 09:43:13 +0200 Subject: [PATCH] Bump docsy and Hugo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Docsy 0.12.0 requires at least Hugo 0.146.0 because of changes to template paths. Signed-off-by: Kévin Commaille --- .github/workflows/main.yml | 2 +- README.md | 2 +- config/_default/hugo.toml | 2 +- go.mod | 2 ++ go.sum | 8 ++++---- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 446aca9c..a4bdea04 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,7 @@ name: "Spec" env: - HUGO_VERSION: 0.139.0 + HUGO_VERSION: 0.147.8 PYTHON_VERSION: 3.13 on: diff --git a/README.md b/README.md index 91afa6c5..0678713b 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ place after an MSC has been accepted, not as part of a proposal itself. 1. Install the extended version (often the OS default) of Hugo: . Note that at least Hugo - v0.123.1 is required. + v0.146.0 is required. Alternatively, use the Docker image at https://hub.docker.com/r/klakegg/hugo/. (The "extended edition" is required diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index b31416c2..65ddad68 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -134,7 +134,7 @@ sidebar_menu_compact = true [module] [module.hugoVersion] extended = true - min = "0.123.1" + min = "0.146.0" [[module.imports]] path = "github.com/matrix-org/docsy" disable = false diff --git a/go.mod b/go.mod index 52d0f21c..6c7ca64d 100644 --- a/go.mod +++ b/go.mod @@ -3,3 +3,5 @@ module github.com/matrix-org/matrix-spec go 1.12 require github.com/matrix-org/docsy v0.0.0-20241106102557-ec7b98ee4014 // indirect + +replace github.com/matrix-org/docsy => github.com/zecakeh/matrix-org-docsy v0.0.0-20250609083047-3b5e81464c1d diff --git a/go.sum b/go.sum index 04125160..9198fce6 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ -github.com/FortAwesome/Font-Awesome v0.0.0-20240716171331-37eff7fa00de/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= -github.com/matrix-org/docsy v0.0.0-20241106102557-ec7b98ee4014 h1:CNvxuuURuxkEjA0QN+lRKELc7PRDsX270e8v4GDF3II= -github.com/matrix-org/docsy v0.0.0-20241106102557-ec7b98ee4014/go.mod h1:4Ek1bcdbfU/j8hIatEjNhIs1Yua85FtQf3kLvoYZ0bQ= -github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= +github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= +github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= +github.com/zecakeh/matrix-org-docsy v0.0.0-20250609083047-3b5e81464c1d h1:yO1JdmvpuDBWHxYVDhRZeKElcEWyzW5VmR1p6vcjQPA= +github.com/zecakeh/matrix-org-docsy v0.0.0-20250609083047-3b5e81464c1d/go.mod h1:4/t21g/nPraob/DVMm3jrk26k0CDL5I7Mxf+ar0IAgs=