Skip to content
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

[🐛 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 opened this issue Apr 27, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@chamiz
Copy link
Contributor

chamiz commented Apr 27, 2024

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

@chamiz chamiz added bug Something isn't working needs-triaging labels Apr 27, 2024
Copy link
Contributor

@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
Copy link
Contributor Author

chamiz commented Apr 27, 2024

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

chamiz added a commit to chamiz/seleniumhq.github.io that referenced this issue Apr 27, 2024
Fixed 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"
chamiz added a commit to chamiz/seleniumhq.github.io that referenced this issue Apr 28, 2024
chamiz added a commit to chamiz/seleniumhq.github.io that referenced this issue Apr 29, 2024
chamiz added a commit to chamiz/seleniumhq.github.io that referenced this issue Apr 29, 2024
Fixed Hugo deprecate warning on custom params
Updated Hugo and Docsy versions

Updated Hugo 0.110.0 to 0.125.4
Updated Docsy 0.8.0 -> 0.9.1
chamiz added a commit to chamiz/seleniumhq.github.io that referenced this issue Apr 29, 2024
diemol added a commit to chamiz/seleniumhq.github.io that referenced this issue Apr 30, 2024
chamiz added a commit to chamiz/seleniumhq.github.io that referenced this issue May 1, 2024
…niumHQ#1699

Fixed deprecated params.
Updated Hugo and Docsy versions
chamiz added a commit to chamiz/seleniumhq.github.io that referenced this issue May 1, 2024
chamiz added a commit to chamiz/seleniumhq.github.io that referenced this issue May 2, 2024
…n-the-language-top-level' of https://github.com/chamiz/seleniumhq.github.io into SeleniumHQ#1697-Hugo-depericate-warning-custom-params-on-the-language-top-level
diemol pushed a commit that referenced this issue May 2, 2024
* #1697 - Fixed Hugo depericate warning on custom params #1699

Fixed deprecated params.
Updated Hugo and Docsy versions

* Updated Hugo version and Docsy versions

Updated Hugo to 0.125.4
Updated Docsy to 0.10.0

[deploy site]
selenium-ci added a commit that referenced this issue May 2, 2024
* #1697 - Fixed Hugo depericate warning on custom params #1699

Fixed deprecated params.
Updated Hugo and Docsy versions

* Updated Hugo version and Docsy versions

Updated Hugo to 0.125.4
Updated Docsy to 0.10.0

[deploy site] 26aa5a4
@diemol
Copy link
Member

diemol commented May 2, 2024

Closed via the linked PR, thank you @chamiz!

@diemol diemol closed this as completed May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants