diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e1fd987d2c5b..118d98bf20b3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f with: - hugo-version: '0.110.0' + hugo-version: ' 0.125.4' extended: true - name: Build run: chmod +x build-site.sh && ./build-site.sh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b9ec77a7b890..7033d60d726d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f with: - hugo-version: '0.110.0' + hugo-version: '0.125.4' extended: true - name: Build run: chmod +x build-site.sh && ./build-site.sh diff --git a/README.md b/README.md index 9cf6125e7dac..b6b50c176af7 100755 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This is the repository used to build and publish the official Selenium [website] We use [Hugo](https://gohugo.io/) and the [Docsy theme](https://www.docsy.dev/) to build and render the site. You will need the **extended** Sass/SCSS version of the Hugo binary to work on this site. We recommend -to use Hugo 0.110.0. +to use Hugo 0.125.4 Steps needed to have this working locally and work on it: diff --git a/netlify.toml b/netlify.toml index 2c3646f185d9..c19d64428a75 100644 --- a/netlify.toml +++ b/netlify.toml @@ -4,7 +4,7 @@ command = "chmod +x build-site.sh && ./build-site.sh" [context.production.environment] NODE_VERSION = "18.14.1" -HUGO_VERSION = "0.110.0" +HUGO_VERSION = "0.125.4" GO_VERSION = "1.20.1" HUGO_ENV = "production" @@ -13,7 +13,7 @@ command = "chmod +x build-site.sh && ./build-site.sh" [context.deploy-preview.environment] NODE_VERSION = "18.14.1" -HUGO_VERSION = "0.110.0" +HUGO_VERSION = "0.125.4" GO_VERSION = "1.20.1" [context.branch-deploy] @@ -21,5 +21,5 @@ command = "chmod +x build-site.sh && ./build-site.sh" [context.branch-deploy.environment] NODE_VERSION = "18.14.1" -HUGO_VERSION = "0.110.0" +HUGO_VERSION = "0.125.4" GO_VERSION = "1.20.1" diff --git a/website_and_docs/go.mod b/website_and_docs/go.mod index e4a9da273f78..5f2d0c8acfc4 100644 --- a/website_and_docs/go.mod +++ b/website_and_docs/go.mod @@ -3,6 +3,6 @@ module github.com/SeleniumHQseleniumhq.github.io go 1.20 require ( - github.com/google/docsy v0.8.0 // indirect + github.com/google/docsy v0.10.0 // indirect github.com/google/docsy/dependencies v0.7.2 // indirect ) diff --git a/website_and_docs/go.sum b/website_and_docs/go.sum index 4b07adbc6b67..4fe9d7e72bd1 100644 --- a/website_and_docs/go.sum +++ b/website_and_docs/go.sum @@ -1,8 +1,15 @@ github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= +github.com/FortAwesome/Font-Awesome v0.0.0-20240108205627-a1232e345536/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= +github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= github.com/google/docsy v0.7.2 h1:KzhFgTd3taF1jq9HDemH3omlUqn9qfdE68sxRyTySpM= github.com/google/docsy v0.7.2/go.mod h1:ol3w2s1FBUzENdKSAEeNjtuaISUzHYHTw60xv5QH3Dg= github.com/google/docsy v0.8.0 h1:RgHyKRTo8YwScMThrf01Ky2yCGpUS1hpkspwNv6szT4= github.com/google/docsy v0.8.0/go.mod h1:FqTNN2T7pWEGW8dc+v5hQ5VF29W5uaL00PQ1LdVw5F8= +github.com/google/docsy v0.9.1 h1:+jqges1YCd+yHeuZ1BUvD8V8mEGVtPxULg5j/vaJ984= +github.com/google/docsy v0.9.1/go.mod h1:saOqKEUOn07Bc0orM/JdIF3VkOanHta9LU5Y53bwN2U= +github.com/google/docsy v0.10.0 h1:6tMDacPwAyRWNCfvsn/9qGOZDQ8b0aRzjRZvnZPY5dg= +github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc= github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI= github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= +github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/website_and_docs/hugo.toml b/website_and_docs/hugo.toml index 6db40ba9923c..f2f195a70788 100644 --- a/website_and_docs/hugo.toml +++ b/website_and_docs/hugo.toml @@ -53,35 +53,40 @@ anchor = "smart" [languages] [languages.en] title = "Selenium" -description = "Selenium automates browsers. That's it!" languageName ="English" weight = 1 +[languages.en.params] +description = "Selenium automates browsers. That's it!" [languages.pt-br] title = "Selenium" -description = "Selenium automates browsers. That's it!" languageName ="Português (Brasileiro)" weight = 2 +[languages.pt-br.params] +description = "Selenium automates browsers. That's it!" [languages.zh-cn] title = "Selenium" -description = "Selenium automates browsers. That's it!" languageName = "中文简体" weight = 3 +[languages.zh-cn.params] +description = "Selenium automates browsers. That's it!" [languages.ja] title = "Selenium" -description = "Selenium automates browsers. That's it!" languageName = "日本語" weight = 4 +[languages.ja.params] +description = "Selenium automates browsers. That's it!" [languages.other] title = "Selenium" -description = "Selenium automates browsers. That's it!" languageName ="Other" weight = 5 +[languages.other.params] +description = "Selenium automates browsers. That's it!" # Import docsy theme as module [module] proxy = "direct" # uncomment line below for temporary local development of module - # replacements = "github.com/google/docsy -> ../../docsy" + #replacements = "github.com/google/docsy -> ../../docsy" [module.hugoVersion] extended = true min = "0.73.0"