-
Notifications
You must be signed in to change notification settings - Fork 0
/
hugo.toml
126 lines (115 loc) · 3.56 KB
/
hugo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Base configuration
baseURL = "https://huawei.github.io/css-docs/"
title = "Huawei"
copyright = "版权所有 © 华为技术有限公司 2024。保留一切权利。"
contentDir = "content/zh-cn"
defaultContentLanguage = "zh-cn"
defaultContentLanguageInSubdir = false
enableMissingTranslationPlaceholders = true
prism_syntax_highlighting = true
enableRobotsTXT = true
enableGitInfo = true
# Disable categories & tags
disableKinds = ["taxonomy", "term"]
# GitHub Information
github_repo = "https://github.com/Huawei/eSDK_K8S_Plugin"
github_project_repo = "https://github.com/Huawei/eSDK_K8S_Plugin"
github_branch = "master"
# Configure how URLs look like per section
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"
# Configure search engine
[params]
offlineSearch = true
# Language configuration
[languages]
[languages.zh-cn]
languageName = "简体中文"
# contentDir = "content/zh-cn"
languageCode = "zh-cn"
weight = 1
[languages.zh-cn.params]
title = "华为CSS"
description = "华为容器存储套件"
version_menu = "版本"
[languages.en]
languageName ="English"
# contentDir = "content/en"
languageCode = "en"
weight = 2
copyright = "Copyright © 2024 Huawei Technologies Co., Ltd. All rights reserved."
[languages.en.params]
title = "Huawei CSS"
description = "Huawei Container Storage Suite"
version_menu = "Releases"
[[languages.en.params.versions]]
version = "v4.5.0 (current)"
url = "https://huawei.github.io/css-docs/en/docs"
[markup]
[markup.goldmark]
[markup.goldmark.parser.attribute]
block = true
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
# See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html
style = "catppuccin-latte"
# Uncomment if you want your chosen highlight style used for code blocks without a specified language
guessSyntax = "true"
# Comment out if you don't want the "print entire section" link enabled
[outputs]
section = ["HTML", "print", "RSS"]
[params.ui]
# Set to true to disable breadcrumb navigation.
breadcrumb_disable = false
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top navbar
navbar_logo = true
# Set to true if you don't want the top navbar to be translucent when over a `block/cover`, like on the homepage.
navbar_translucent_over_cover_disable = false
# Enable to show the side bar menu in its compact state.
sidebar_menu_compact = true
sidebar_menu_foldable = true
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = true
showLightDarkModeMenu = false
[[params.versions]]
version = "v4.5.0(当前版本)"
url = "https://huawei.github.io/css-docs/docs"
[[menu.main]]
name = "GitHub"
weight = 50
url = "https://github.com/Huawei/eSDK_K8S_Plugin"
[params.links]
[[params.links.developer]]
name = "GitHub"
url = "https://github.com/Huawei/eSDK_K8S_Plugin"
icon = "fab fa-github"
desc = "Development takes place here!"
[module]
proxy = "direct"
[[module.imports]]
path = "github.com/google/docsy"
disable = false
[[module.mounts]]
source = "content/en"
target = "content"
lang = "en"
[[module.mounts]]
source = "content/zh-cn"
target = "content"
lang = "zh-cn"
[[module.mounts]]
source = "static"
target = "static"
[[module.mounts]]
source = "layouts"
target = "layouts"
[[module.mounts]]
source = "data"
target = "data"
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "archetypes"
target = "archetypes"