Skip to content

Commit dcc8b08

Browse files
committed
correct hugo.toml
1 parent b295e42 commit dcc8b08

File tree

1 file changed

+48
-51
lines changed

1 file changed

+48
-51
lines changed

hugo.toml

Lines changed: 48 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Base configuration
22
baseURL = "https://huawei.github.io/css-docs/"
33
title = "Huawei"
4-
copyright = "版权所有 © 华为技术有限公司 2024。保留一切权利。"
4+
copyright = "版权所有 © 华为技术有限公司 2025。保留一切权利。"
55
contentDir = "content/zh-cn"
66
defaultContentLanguage = "zh-cn"
77
defaultContentLanguageInSubdir = false
@@ -28,7 +28,7 @@ offlineSearch = true
2828
[languages]
2929
[languages.zh-cn]
3030
languageName = "简体中文"
31-
contentDir = "content/zh-cn"
31+
# contentDir = "content/zh-cn"
3232
languageCode = "zh-cn"
3333
weight = 1
3434
[languages.zh-cn.params]
@@ -38,10 +38,10 @@ version_menu = "版本"
3838

3939
[languages.en]
4040
languageName ="English"
41-
contentDir = "content/en"
41+
# contentDir = "content/en"
4242
languageCode = "en"
4343
weight = 2
44-
copyright = "Copyright © 2024 Huawei Technologies Co., Ltd. All rights reserved."
44+
copyright = "Copyright © 2025 Huawei Technologies Co., Ltd. All rights reserved."
4545
[languages.en.params]
4646
title = "Huawei CSS"
4747
description = "Huawei Container Storage Suite"
@@ -60,16 +60,16 @@ version = "v4.6.0"
6060
url = "https://huawei.github.io/css-docs/en/v4.6.0"
6161

6262
[markup]
63-
[markup.goldmark]
64-
[markup.goldmark.parser.attribute]
65-
block = true
66-
[markup.goldmark.renderer]
67-
unsafe = true
68-
[markup.highlight]
69-
# See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html
70-
style = "catppuccin-latte"
71-
# Uncomment if you want your chosen highlight style used for code blocks without a specified language
72-
guessSyntax = "true"
63+
[markup.goldmark]
64+
[markup.goldmark.parser.attribute]
65+
block = true
66+
[markup.goldmark.renderer]
67+
unsafe = true
68+
[markup.highlight]
69+
# See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html
70+
style = "catppuccin-latte"
71+
# Uncomment if you want your chosen highlight style used for code blocks without a specified language
72+
guessSyntax = "true"
7373

7474
# Comment out if you don't want the "print entire section" link enabled
7575
[outputs]
@@ -92,56 +92,53 @@ showLightDarkModeMenu = false
9292
[[params.versions]]
9393
version = "v4.10.0(当前版本)"
9494
url = "https://huawei.github.io/css-docs/docs"
95-
9695
[[params.versions]]
9796
version = "v4.9.0"
9897
url = "https://huawei.github.io/css-docs/v4.9.0"
99-
10098
[[params.versions]]
10199
version = "v4.7.0"
102100
url = "https://huawei.github.io/css-docs/v4.7.0"
103-
104101
[[params.versions]]
105102
version = "v4.6.0"
106103
url = "https://huawei.github.io/css-docs/v4.6.0"
107104

108105
[[menu.main]]
109-
name = "GitHub"
110-
weight = 50
111-
url = "https://github.com/Huawei/eSDK_K8S_Plugin"
106+
name = "GitHub"
107+
weight = 50
108+
url = "https://github.com/Huawei/eSDK_K8S_Plugin"
112109

113110
[params.links]
114111
[[params.links.developer]]
115-
name = "GitHub"
116-
url = "https://github.com/Huawei/eSDK_K8S_Plugin"
117-
icon = "fab fa-github"
118-
desc = "Development takes place here!"
112+
name = "GitHub"
113+
url = "https://github.com/Huawei/eSDK_K8S_Plugin"
114+
icon = "fab fa-github"
115+
desc = "Development takes place here!"
119116

120117
[module]
121-
proxy = "direct"
122-
[[module.imports]]
123-
path = "github.com/google/docsy"
124-
disable = false
125-
[[module.mounts]]
126-
source = "content/en"
127-
target = "content"
128-
lang = "en"
129-
[[module.mounts]]
130-
source = "content/zh-cn"
131-
target = "content"
132-
lang = "zh-cn"
133-
[[module.mounts]]
134-
source = "static"
135-
target = "static"
136-
[[module.mounts]]
137-
source = "layouts"
138-
target = "layouts"
139-
[[module.mounts]]
140-
source = "data"
141-
target = "data"
142-
[[module.mounts]]
143-
source = "assets"
144-
target = "assets"
145-
[[module.mounts]]
146-
source = "archetypes"
147-
target = "archetypes"
118+
proxy = "direct"
119+
[[module.imports]]
120+
path = "github.com/google/docsy"
121+
disable = false
122+
[[module.mounts]]
123+
source = "content/en"
124+
target = "content"
125+
lang = "en"
126+
[[module.mounts]]
127+
source = "content/zh-cn"
128+
target = "content"
129+
lang = "zh-cn"
130+
[[module.mounts]]
131+
source = "static"
132+
target = "static"
133+
[[module.mounts]]
134+
source = "layouts"
135+
target = "layouts"
136+
[[module.mounts]]
137+
source = "data"
138+
target = "data"
139+
[[module.mounts]]
140+
source = "assets"
141+
target = "assets"
142+
[[module.mounts]]
143+
source = "archetypes"
144+
target = "archetypes"

0 commit comments

Comments
 (0)