Skip to content

Commit 91e15bd

Browse files
authored
Merge pull request #1031 from nafisa404/fix-hugo-language-label-warning
ci: migrate Hugo languageName config to label
2 parents effb4de + 6bc1543 commit 91e15bd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# THIS IS A TEST CONFIG ONLY!
22
# FOR THE CONFIGURATION OF YOUR SITE USE hugo.yaml.
33
#
4-
# As of Docsy 0.7.0, Hugo 0.110.0 or later must be used.
4+
# As of Docsy 0.7.0, Hugo 0.112.0 or later must be used.
55
#
66
# The sole purpose of this config file is to detect Hugo-module builds that use
77
# an older version of Hugo.
@@ -12,4 +12,4 @@
1212
module:
1313
hugoVersion:
1414
extended: true
15-
min: 0.110.0
15+
min: 0.112.0

hugo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ id = "G-HX135VWX9B"
6464

6565
[languages]
6666
[languages.en]
67-
languageName = "English"
67+
label = "English"
6868
# Weight used for sorting.
6969
weight = 1
7070
direction = "ltr"
@@ -328,7 +328,7 @@ enable = false
328328
# replacements = "github.com/google/docsy -> ../../docsy"
329329
[module.hugoVersion]
330330
extended = true
331-
min = "0.110.0"
331+
min = "0.112.0"
332332
[[module.imports]]
333333
path = "github.com/google/docsy"
334334
disable = false

0 commit comments

Comments
 (0)