From fbeed767ea658ebf54ba4e0e4003ea84e80bcf97 Mon Sep 17 00:00:00 2001 From: Alan Dooley Date: Mon, 2 Sep 2024 13:28:43 +0000 Subject: [PATCH] Bump documentation theme version (#6320) * Bump documentation theme version * Use go mod tidy to clean dependencies * hugo mod tidy --------- Co-authored-by: Jim Ryan --- docs/Makefile | 5 ++++- docs/go.mod | 2 +- docs/go.sum | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 2eda42e6fb..b0d647edc4 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -4,7 +4,7 @@ HUGO_IMG?=hugomods/hugo:0.115.3 THEME_MODULE = github.com/nginxinc/nginx-hugo-theme ## Pulls the current theme version from the Netlify settings -THEME_VERSION = $(NGINX_THEME_VERSION) +THEME_VERSION = 0.41.14 NETLIFY_DEPLOY_URL = ${DEPLOY_PRIME_URL} # if there's no local hugo, fallback to docker @@ -75,6 +75,9 @@ lint-markdown: hugo-mod: hugo mod get $(THEME_MODULE)@v$(THEME_VERSION) +hugo-tidy: + hugo mod tidy + build-production: hugo --gc -e production diff --git a/docs/go.mod b/docs/go.mod index 48a8895f7f..d58d27303b 100644 --- a/docs/go.mod +++ b/docs/go.mod @@ -2,4 +2,4 @@ module github.com/nginxinc/kubernetes-ingress/docs go 1.19 -require github.com/nginxinc/nginx-hugo-theme v0.41.8 // indirect +require github.com/nginxinc/nginx-hugo-theme v0.41.14 // indirect diff --git a/docs/go.sum b/docs/go.sum index 93628509d3..1cbbb6618c 100644 --- a/docs/go.sum +++ b/docs/go.sum @@ -1,2 +1,2 @@ -github.com/nginxinc/nginx-hugo-theme v0.41.8 h1:l9Lsl9NMaTmNCSMa/W9sdqwhlKFxfb+6ue6w6+bsMC0= -github.com/nginxinc/nginx-hugo-theme v0.41.8/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M= +github.com/nginxinc/nginx-hugo-theme v0.41.14 h1:OraNB01CdMJXufPddvIVt6qn6Mj38Z/XCVIWBgVtuY0= +github.com/nginxinc/nginx-hugo-theme v0.41.14/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M=