diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4c3b80b9a6c..21708643de5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -70,7 +70,7 @@ To Install the latest Node.js LTS release on Windows, navigate to the [downloads ### Install Hugo -The Linode documentation library is built using [Hugo](http://gohugo.io), an open-source static site generator. In order to preview your guide before submission, you need to install Hugo on your local computer. This site currently uses **Hugo v0.116.1**. To remain consistent in the testing and development process, it's recommended to install this version instead of using a newer version. +The Linode documentation library is built using [Hugo](http://gohugo.io), an open-source static site generator. In order to preview your guide before submission, you need to install Hugo on your local computer. This site currently uses **Hugo v0.125.3**. To remain consistent in the testing and development process, it's recommended to install this version instead of using a newer version. Note: If you observe any issues on a newer version, please [file an issue](https://github.com/linode/docs/issues) in the docs GitHub repository. @@ -78,10 +78,10 @@ Note: If you observe any issues on a newer version, please [file an issue](https To install Hugo, download the appropriate binary for your system, extract it, and move it to a directory within your PATH. -1. Download the file below that corresponds with the OS and platform on your local system. If you don't see your system on this list, you can find additional files on the [Hugo v0.116.1 GitHub release page](https://github.com/gohugoio/hugo/releases/tag/v0.116.1) under **Assets**. +1. Download the file below that corresponds with the OS and platform on your local system. If you don't see your system on this list, you can find additional files on the [Hugo v0.125.3 GitHub release page](https://github.com/gohugoio/hugo/releases/tag/v0.125.3) under **Assets**. - - **macOS:** https://github.com/gohugoio/hugo/releases/download/v0.116.1/hugo_extended_0.116.1_darwin-universal.tar.gz - - **Linux:** https://github.com/gohugoio/hugo/releases/download/v0.116.1/hugo_extended_0.116.1_Linux-64bit.tar.gz + - **macOS:** https://github.com/gohugoio/hugo/releases/download/v0.125.3/hugo_extended_0.125.3_darwin-universal.tar.gz + - **Linux:** https://github.com/gohugoio/hugo/releases/download/v0.125.3/hugo_extended_0.125.3_Linux-64bit.tar.gz You can download this file through a terminal using the curl command, replacing [url] with the URL for your platform: @@ -115,7 +115,7 @@ To install Hugo, download the appropriate binary for your system, extract it, an While macOS and Linux are preferred by most of the core Linode Docs team, it's also possible to use Hugo on Windows. -1. Download the [hugo_extended_0.116.1_windows-amd64.zip](https://github.com/gohugoio/hugo/releases/download/v0.116.1/hugo_extended_0.116.1_windows-amd64.zip) file. Additional files for other operating systems can be found on the [Hugo v0.116.1 GitHub release page](https://github.com/gohugoio/hugo/releases/tag/v0.116.1) under **Assets**. +1. Download the [hugo_extended_0.125.3_windows-amd64.zip](https://github.com/gohugoio/hugo/releases/download/v0.125.3/hugo_extended_0.125.3_windows-amd64.zip) file. Additional files for other operating systems can be found on the [Hugo v0.125.3 GitHub release page](https://github.com/gohugoio/hugo/releases/tag/v0.125.3) under **Assets**. 1. Extract the file to the directory you'd like to install Hugo under, such as `C:\Hugo\bin`. @@ -184,10 +184,10 @@ For more information about using Git, refer to the [official Git documentation]( This section is only relevant to contributors who have previously worked on the docs repo prior to the Tailwind v3 upgrade (which occurred on July 6th, 2023 in docs release v1.252.0). After you merge in changes from this release (and onward), you will likely notice display issues when previewing the site locally. This is due to Tailwind v3 and the way it integrates with Hugo (and our theme). To complete the upgrade locally and fix any display issues, follow the steps below. -1. Upgrade Hugo to v0.116.1. On macOS, run the following commands in a temporary folder (not in your docs repo): +1. Upgrade Hugo to v0.125.3. On macOS, run the following commands in a temporary folder (not in your docs repo): - curl -OL https://github.com/gohugoio/hugo/releases/download/v0.116.1/hugo_extended_0.116.1_darwin-universal.tar.gz - tar -xvzf hugo_extended_0.116.1_darwin-universal.tar.gz + curl -OL https://github.com/gohugoio/hugo/releases/download/v0.125.3/hugo_extended_0.125.3_darwin-universal.tar.gz + tar -xvzf hugo_extended_0.125.3_darwin-universal.tar.gz mv hugo /usr/local/bin If you are using a different operating system, refer to the [Install Hugo](#install-hugo) section above. diff --git a/_vendor/github.com/linode/linode-docs-theme/content/testpages/_index.md b/_vendor/github.com/linode/linode-docs-theme/content/testpages/_index.md index 2bc13fbace3..e02936608a2 100644 --- a/_vendor/github.com/linode/linode-docs-theme/content/testpages/_index.md +++ b/_vendor/github.com/linode/linode-docs-theme/content/testpages/_index.md @@ -10,7 +10,7 @@ layout = "content-only" [cascade._target] environment = "production" [cascade._build] - render = "always" + render = "never" list = "never" publishResources = false +++ diff --git a/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/search/get-sections-meta.html b/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/search/get-sections-meta.html index 4b1465bb7a3..b380f235597 100644 --- a/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/search/get-sections-meta.html +++ b/_vendor/github.com/linode/linode-docs-theme/layouts/partials/sections/search/get-sections-meta.html @@ -13,7 +13,7 @@ {{- end -}} {{- end -}} {{- $objectID := (printf "%s" (replace .SectionsPath "/" " > ")) -}} - {{- $objectID = $objectID | strings.TrimRight " >" -}} + {{- $objectID = strings.Trim $objectID " >" -}} {{- $ordinal := 0 }} {{- with .Params.tab_group_main -}} {{/* This is set in products pages. */}} diff --git a/_vendor/github.com/linode/linode-website-partials/footer.html b/_vendor/github.com/linode/linode-website-partials/footer.html index d71343aafb3..964ff26277f 100644 --- a/_vendor/github.com/linode/linode-website-partials/footer.html +++ b/_vendor/github.com/linode/linode-website-partials/footer.html @@ -64,15 +64,9 @@
  • Partners
  • -
  • - Careers -
  • Accessibility Commitment
  • -
  • - Press Center -
  • Legal Center
  • @@ -137,12 +131,6 @@

    Company

  • Partners
  • -
  • - Press Center -
  • -
  • - Careers -
  • Legal
  • @@ -203,7 +191,7 @@

    Products

    NodeBalancers
  • - Private Networking + VLAN
  • Managed @@ -249,9 +237,6 @@

    Industries

  • Managed Hosting
  • -
  • - Managed Service Providers -
  • Media
  • diff --git a/_vendor/github.com/linode/linode-website-partials/header.html b/_vendor/github.com/linode/linode-website-partials/header.html index 6862b47a463..52c5988a94c 100644 --- a/_vendor/github.com/linode/linode-website-partials/header.html +++ b/_vendor/github.com/linode/linode-website-partials/header.html @@ -125,7 +125,7 @@ Sales
  • - Careers + Careers
  • Log In @@ -313,7 +313,7 @@ NodeBalancers
  • - Private Networking + VLAN
  • @@ -412,9 +412,6 @@
  • Managed Hosting
  • -
  • - Managed Service Providers -
  • Media
  • @@ -499,10 +496,10 @@ About Us
  • - Press Center + Newsroom
  • - Careers + Careers
  • Legal @@ -732,7 +729,7 @@
    Networking
    NodeBalancers
  • - Private Networking + VLAN
  • @@ -872,9 +869,6 @@
    Industries
  • Managed Hosting
  • -
  • - Managed Service Providers -
  • Media
  • @@ -983,7 +977,7 @@
    Engage With Us
    Newsletter
  • - Press Center + Newsroom
  • Find a Partner diff --git a/_vendor/modules.txt b/_vendor/modules.txt index dd612f7f0d6..a133662abf1 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1,5 +1,5 @@ -# github.com/linode/linode-docs-theme v0.0.0-20240423165854-a2056513af25 -# github.com/linode/linode-website-partials v0.0.0-20240130163753-4a933fe77633 +# github.com/linode/linode-docs-theme v0.0.0-20240425164245-4aab9abf83f1 +# github.com/linode/linode-website-partials v0.0.0-20240424162657-dcb8464d17f3 # github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.401.201 # github.com/gohugoio/hugo-mod-jslibs/turbo/v7 v7.20300.20000 # github.com/bep/turbo/v7 v7.20300.20000 diff --git a/go.mod b/go.mod index b4e9ae39a3a..b3235537c87 100644 --- a/go.mod +++ b/go.mod @@ -5,5 +5,5 @@ go 1.15 require ( github.com/hotwired/turbo v7.0.1+incompatible // indirect github.com/linode/linode-api-docs/v4 v4.174.0 // indirect - github.com/linode/linode-docs-theme v0.0.0-20240423165854-a2056513af25 // indirect + github.com/linode/linode-docs-theme v0.0.0-20240425164245-4aab9abf83f1 // indirect ) diff --git a/go.sum b/go.sum index 6806c5a4538..98737e91b45 100644 --- a/go.sum +++ b/go.sum @@ -257,6 +257,8 @@ github.com/linode/linode-docs-theme v0.0.0-20240423162135-fcca3a0c8c89 h1:Q6uC3V github.com/linode/linode-docs-theme v0.0.0-20240423162135-fcca3a0c8c89/go.mod h1:pLFUnAD7hJW1C2wheL3HqtWIN6Xy0kywHHf33YyfUTI= github.com/linode/linode-docs-theme v0.0.0-20240423165854-a2056513af25 h1:XlGFuVQ3GighmP/S5CoLe09wbdPYYOUk9TmeTBZff4U= github.com/linode/linode-docs-theme v0.0.0-20240423165854-a2056513af25/go.mod h1:pLFUnAD7hJW1C2wheL3HqtWIN6Xy0kywHHf33YyfUTI= +github.com/linode/linode-docs-theme v0.0.0-20240425164245-4aab9abf83f1 h1:rlOaJDaQDquw8LbE25+N18CeBI6fogH2e8pCofrYUsQ= +github.com/linode/linode-docs-theme v0.0.0-20240425164245-4aab9abf83f1/go.mod h1:erpdkuemfqHLfK1HAJ2bOYgdgh0cOSSsazZ7p5qcc+U= github.com/linode/linode-website-partials v0.0.0-20221205205120-b6ea1aaa59fb/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20221222200538-99862e429110/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20230201145731-a8703d0a954a/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= @@ -274,3 +276,4 @@ github.com/linode/linode-website-partials v0.0.0-20230927181556-032071c7cd50/go. github.com/linode/linode-website-partials v0.0.0-20231004150321-3d3e65b490df/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20231027173434-abbc557a5519/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= github.com/linode/linode-website-partials v0.0.0-20240130163753-4a933fe77633/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= +github.com/linode/linode-website-partials v0.0.0-20240424162657-dcb8464d17f3/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao= diff --git a/netlify.toml b/netlify.toml index 3719b6bbfb5..c9972fdfa58 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,11 +3,11 @@ publish = "public" command = "hugo version && hugo config && hugo --gc --minify -d public/docs;" [context.production.environment] -HUGO_VERSION = "0.116.1" +HUGO_VERSION = "0.125.3" HUGO_PARAMS_TESTENV="Netlify" [context.deploy-preview.environment] -HUGO_VERSION = "0.116.1" +HUGO_VERSION = "0.125.3" HUGO_PARAMS_TESTENV="Netlify" [[plugins]]