From 296edc8f47257c9c48be60852592e9e5b7632446 Mon Sep 17 00:00:00 2001 From: Alan Dooley Date: Fri, 9 Jun 2023 13:18:44 +0100 Subject: [PATCH] Update theme version, adjust weight of top level pages & sections This commit updates the documentation theme version: with the change, the "weight" frontmatter parameter for a handful of pages has also been adjusted. Prior to this theme version, folders would not respect the weight frontmatter for the purposes of ordering page layout. This means that no matter what the value was, folders would always be at the top in the hierarchy. With this change, that is no longer the case - and the adjustments to existing pages ensure that they adhere to the structure the documentation had previously. --- docs/content/f5-ingresslink.md | 2 +- docs/content/releases.md | 2 +- docs/content/technical-specifications.md | 2 +- docs/content/troubleshooting/_index.md | 2 +- docs/content/tutorials/_index.md | 2 +- docs/go.mod | 2 +- docs/go.sum | 1 + 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/content/f5-ingresslink.md b/docs/content/f5-ingresslink.md index 6ce5fc32ca..45f35b4115 100644 --- a/docs/content/f5-ingresslink.md +++ b/docs/content/f5-ingresslink.md @@ -2,7 +2,7 @@ title: Using with F5 BIG-IP description: | Learn how to use NGINX Ingress Controller with F5 IngressLink to configure your F5 BIG-IP device. -weight: 1800 +weight: 2000 doctypes: ["concept"] toc: true docs: "DOCS-600" diff --git a/docs/content/releases.md b/docs/content/releases.md index 14cc17eceb..35a2d48838 100644 --- a/docs/content/releases.md +++ b/docs/content/releases.md @@ -1,7 +1,7 @@ --- title: Releases description: "NGINX Ingress Controller Release Notes." -weight: 1900 +weight: 2100 doctypes: ["concept"] toc: true docs: "DOCS-616" diff --git a/docs/content/technical-specifications.md b/docs/content/technical-specifications.md index a7187b1208..186aaa8722 100644 --- a/docs/content/technical-specifications.md +++ b/docs/content/technical-specifications.md @@ -1,7 +1,7 @@ --- title: Technical Specifications description: "NGINX Ingress Controller Technical Specifications." -weight: 2000 +weight: 2200 doctypes: ["concept"] toc: true docs: "DOCS-617" diff --git a/docs/content/troubleshooting/_index.md b/docs/content/troubleshooting/_index.md index 64ce8a39e4..dd82dc52a7 100644 --- a/docs/content/troubleshooting/_index.md +++ b/docs/content/troubleshooting/_index.md @@ -1,7 +1,7 @@ --- title: Troubleshooting description: -weight: 2000 +weight: 1800 menu: docs: parent: NGINX Ingress Controller diff --git a/docs/content/tutorials/_index.md b/docs/content/tutorials/_index.md index 919c1dd02d..109c994dd1 100644 --- a/docs/content/tutorials/_index.md +++ b/docs/content/tutorials/_index.md @@ -1,7 +1,7 @@ --- title: Tutorials description: -weight: 2100 +weight: 1900 menu: docs: parent: NGINX Ingress Controller diff --git a/docs/go.mod b/docs/go.mod index 86007118d1..a21c7f7de5 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.28.0 +require github.com/nginxinc/nginx-hugo-theme v0.32.0 diff --git a/docs/go.sum b/docs/go.sum index 9946777919..22fe8644fd 100644 --- a/docs/go.sum +++ b/docs/go.sum @@ -1,2 +1,3 @@ github.com/nginxinc/nginx-hugo-theme v0.28.0 h1:RHHvBmFk2Uptk+efLPSIuBd2elc3IOZPElkJbkkpAHo= github.com/nginxinc/nginx-hugo-theme v0.28.0/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M= +github.com/nginxinc/nginx-hugo-theme v0.32.0/go.mod h1:DPNgSS5QYxkjH/BfH4uPDiTfODqWJ50NKZdorguom8M=