Skip to content

#1697 - Fixed Hugo depericate warning on custom params #1699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -13,13 +13,13 @@ 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]
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"
2 changes: 1 addition & 1 deletion website_and_docs/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
7 changes: 7 additions & 0 deletions website_and_docs/go.sum
Original file line number Diff line number Diff line change
@@ -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=
17 changes: 11 additions & 6 deletions website_and_docs/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading