SeleniumHQ / seleniumhq.github.io

Official Selenium website and documentation
https://selenium.dev
Apache License 2.0
1.11k stars 1.3k forks source link

[šŸ› Bug]: Hugo depericate warning "custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0" #1697

Closed chamiz closed 5 months ago

chamiz commented 5 months ago

What happened?

After updating hugo v0.125.4 , I'm getting "custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0"for several translations.

Commad hugo server

Errors ERROR deprecated: config: languages.zh-cn.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0. Put the value below [languages.zh-cn.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120 ERROR deprecated: config: languages.ja.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0. Put the value below [languages.ja.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120 ERROR deprecated: config: languages.other.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0. Put the value below [languages.other.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120 ERROR deprecated: config: languages.en.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120 ERROR deprecated: config: languages.pt-br.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0. Put the value below [languages.pt-br.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120

Action So if we need to support Hugo's latest versions we need to fix these issues.

What browsers and operating systems are you seeing the problem on?

Windows 11 Hugo v0.125.4

github-actions[bot] commented 5 months ago

@chamiz, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

chamiz commented 5 months ago

So as a fix, we need to put the values as suggested. [languages.zh-cn.params]

Source https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120

diemol commented 5 months ago

Closed via the linked PR, thank you @chamiz!