Skip to content

Commit 16f7fbe

Browse files
committed
#1697 - Fixed Hugo depericate warning on custom params #1699
Fixed deprecated params. Updated Hugo and Docsy versions
1 parent bf24f19 commit 16f7fbe

File tree

7 files changed

+21
-13
lines changed

7 files changed

+21
-13
lines changed

Diff for: .github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Hugo
1818
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f
1919
with:
20-
hugo-version: '0.110.0'
20+
hugo-version: '0.124.1'
2121
extended: true
2222
- name: Build
2323
run: chmod +x build-site.sh && ./build-site.sh

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Hugo
1818
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f
1919
with:
20-
hugo-version: '0.110.0'
20+
hugo-version: '0.124.1'
2121
extended: true
2222
- name: Build
2323
run: chmod +x build-site.sh && ./build-site.sh

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This is the repository used to build and publish the official Selenium [website]
1111
We use [Hugo](https://gohugo.io/) and the [Docsy theme](https://www.docsy.dev/)
1212
to build and render the site. You will need the **extended**
1313
Sass/SCSS version of the Hugo binary to work on this site. We recommend
14-
to use Hugo 0.110.0.
14+
to use Hugo 0.124.1.
1515

1616
Steps needed to have this working locally and work on it:
1717

Diff for: netlify.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ command = "chmod +x build-site.sh && ./build-site.sh"
44

55
[context.production.environment]
66
NODE_VERSION = "18.14.1"
7-
HUGO_VERSION = "0.110.0"
7+
HUGO_VERSION = "0.124.1"
88
GO_VERSION = "1.20.1"
99
HUGO_ENV = "production"
1010

@@ -13,13 +13,13 @@ command = "chmod +x build-site.sh && ./build-site.sh"
1313

1414
[context.deploy-preview.environment]
1515
NODE_VERSION = "18.14.1"
16-
HUGO_VERSION = "0.110.0"
16+
HUGO_VERSION = "0.124.1"
1717
GO_VERSION = "1.20.1"
1818

1919
[context.branch-deploy]
2020
command = "chmod +x build-site.sh && ./build-site.sh"
2121

2222
[context.branch-deploy.environment]
2323
NODE_VERSION = "18.14.1"
24-
HUGO_VERSION = "0.110.0"
24+
HUGO_VERSION = "0.124.1"
2525
GO_VERSION = "1.20.1"

Diff for: website_and_docs/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module github.com/SeleniumHQseleniumhq.github.io
33
go 1.20
44

55
require (
6-
github.com/google/docsy v0.8.0 // indirect
6+
github.com/google/docsy v0.9.1 // indirect
77
github.com/google/docsy/dependencies v0.7.2 // indirect
88
)

Diff for: website_and_docs/go.sum

+3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
2+
github.com/FortAwesome/Font-Awesome v0.0.0-20240108205627-a1232e345536/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
23
github.com/google/docsy v0.7.2 h1:KzhFgTd3taF1jq9HDemH3omlUqn9qfdE68sxRyTySpM=
34
github.com/google/docsy v0.7.2/go.mod h1:ol3w2s1FBUzENdKSAEeNjtuaISUzHYHTw60xv5QH3Dg=
45
github.com/google/docsy v0.8.0 h1:RgHyKRTo8YwScMThrf01Ky2yCGpUS1hpkspwNv6szT4=
56
github.com/google/docsy v0.8.0/go.mod h1:FqTNN2T7pWEGW8dc+v5hQ5VF29W5uaL00PQ1LdVw5F8=
7+
github.com/google/docsy v0.9.1 h1:+jqges1YCd+yHeuZ1BUvD8V8mEGVtPxULg5j/vaJ984=
8+
github.com/google/docsy v0.9.1/go.mod h1:saOqKEUOn07Bc0orM/JdIF3VkOanHta9LU5Y53bwN2U=
69
github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI=
710
github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4=
811
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

Diff for: website_and_docs/hugo.toml

+11-6
Original file line numberDiff line numberDiff line change
@@ -53,35 +53,40 @@ anchor = "smart"
5353
[languages]
5454
[languages.en]
5555
title = "Selenium"
56-
description = "Selenium automates browsers. That's it!"
5756
languageName ="English"
5857
weight = 1
58+
[languages.en.params]
59+
description = "Selenium automates browsers. That's it!"
5960
[languages.pt-br]
6061
title = "Selenium"
61-
description = "Selenium automates browsers. That's it!"
6262
languageName ="Português (Brasileiro)"
6363
weight = 2
64+
[languages.pt-br.params]
65+
description = "Selenium automates browsers. That's it!"
6466
[languages.zh-cn]
6567
title = "Selenium"
66-
description = "Selenium automates browsers. That's it!"
6768
languageName = "中文简体"
6869
weight = 3
70+
[languages.zh-cn.params]
71+
description = "Selenium automates browsers. That's it!"
6972
[languages.ja]
7073
title = "Selenium"
71-
description = "Selenium automates browsers. That's it!"
7274
languageName = "日本語"
7375
weight = 4
76+
[languages.ja.params]
77+
description = "Selenium automates browsers. That's it!"
7478
[languages.other]
7579
title = "Selenium"
76-
description = "Selenium automates browsers. That's it!"
7780
languageName ="Other"
7881
weight = 5
82+
[languages.other.params]
83+
description = "Selenium automates browsers. That's it!"
7984

8085
# Import docsy theme as module
8186
[module]
8287
proxy = "direct"
8388
# uncomment line below for temporary local development of module
84-
# replacements = "github.com/google/docsy -> ../../docsy"
89+
#replacements = "github.com/google/docsy -> ../../docsy"
8590
[module.hugoVersion]
8691
extended = true
8792
min = "0.73.0"

0 commit comments

Comments
 (0)