Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
HUGO?=hugo
HUGO_VERSION?=$(shell hugo version 2>/dev/null | awk '{print $$2}' | cut -d '.' -f 2)
HUGO_IMG?=hugomods/hugo:std-go-git-0.147.8
HUGO_IMG?=hugomods/hugo:std-go-git-0.152.2

THEME_MODULE = github.com/nginxinc/nginx-hugo-theme

ifeq ($(shell [ $(HUGO_VERSION) -gt 146 2>/dev/null ] && echo true || echo false), true)
$(info Hugo is available and has a version greater than 146. Proceeding with build.)
else
$(warning Hugo is not available or using a version less than 147. Attempting to use docker. HUGO_VERSION=$(HUGO_VERSION))
$(warning Hugo is not available or using a version less than 151. Attempting to use docker. HUGO_VERSION=$(HUGO_VERSION))
HUGO=docker run --rm -it -v ${CURDIR}:/src -p 1313:1313 ${HUGO_IMG} /src/hugo-entrypoint.sh
ifeq (, $(shell docker version 2> /dev/null))
$(error Hugo (>0.147) or Docker are required to build the local previews.)
$(error Hugo (>0.151) or Docker are required to build the local previews.)
endif
endif

Expand Down
1 change: 0 additions & 1 deletion content/agent/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Changelog
toc: false
url: /agent/changelog
weight: 1200
toc: true
Expand Down
1 change: 0 additions & 1 deletion content/nim/nginx-configs/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Manage NGINX configs
weight: 15
url: /nginx-instance-manager/nginx-configs/
weight: 70
---
2 changes: 1 addition & 1 deletion content/waf/install/disconnected-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ In addition to accessing F5 WAF for NGINX documentation, you will be able to acc

You will need `git` and `wget` in your connected environment.

Run the following two commands: replace `<hugo-release>` with the tarball appropriate to the environment from [the release page](https://github.com/gohugoio/hugo/releases/tag/v0.147.8):
Run the following two commands: replace `<hugo-release>` with the tarball appropriate to the environment from [the release page](https://github.com/gohugoio/hugo/releases/tag/v0.152.2):


```shell
Expand Down
2 changes: 1 addition & 1 deletion documentation/hugo-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ For guidance around how to write content, please check [the style guide](/docume

You will need to install Hugo _or_ Docker to build or preview documentation in your local development environment.

Read the [Hugo installation instructions](https://gohugo.io/getting-started/installing/) for more information: we are currently running [Hugo v0.147.8](https://github.com/gohugoio/hugo/releases/tag/v0.147.8) in production.
Read the [Hugo installation instructions](https://gohugo.io/getting-started/installing/) for more information: we are currently running [Hugo v0.152.2](https://github.com/gohugoio/hugo/releases/tag/v0.152.2) in production.

If you have [Docker](https://www.docker.com/get-started/) installed, there are fallbacks for all requirements in the [Makefile](Makefile), meaning you don't need to install them.

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/nginxinc/docs

go 1.19

require github.com/nginxinc/nginx-hugo-theme v1.0.11 // indirect
require github.com/nginxinc/nginx-hugo-theme v1.0.16 // indirect
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/nginxinc/nginx-hugo-theme v1.0.11 h1:vsiqkg+Ba7CN05SaY9HEPbPinz3Y1xjNZ/qdhhp7Hrc=
github.com/nginxinc/nginx-hugo-theme v1.0.11/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M=
github.com/nginxinc/nginx-hugo-theme v1.0.16 h1:4JsqGMI5XTwTkzwpdJ1DxtVpYJvh0J9+duy/wWXqUPg=
github.com/nginxinc/nginx-hugo-theme v1.0.16/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M=