Update zh-cn deploy config
This commit is contained in:
parent
0e63f0b924
commit
028406ba18
1 changed files with 11 additions and 9 deletions
20
config.toml
20
config.toml
|
@ -1,7 +1,9 @@
|
|||
baseURL = "https://docs.joinmastodon.org/"
|
||||
languageCode = "en-us"
|
||||
defaultContentLanguage = "en"
|
||||
title = "Mastodon documentation"
|
||||
baseURL = "https://mastodon.d10n.wholetrans.org/"
|
||||
languageCode = "zh-cn"
|
||||
defaultContentLanguage = "zh-cn"
|
||||
# To avoid alias conflict
|
||||
defaultContentLanguageInSubdir = true
|
||||
title = "Mastodon 文档"
|
||||
pygmentsCodeFences = true
|
||||
pygmentsStyle = "github-dark"
|
||||
metaDataFormat = "yaml"
|
||||
|
@ -106,22 +108,22 @@ disablePathToLower = true
|
|||
|
||||
[languages.zh-cn.menu]
|
||||
[[languages.zh-cn.menu.docs]]
|
||||
name = "使用Mastodon"
|
||||
name = "使用 Mastodon"
|
||||
weight = 10
|
||||
identifier = "user"
|
||||
url = "/user/"
|
||||
[[languages.zh-cn.menu.docs]]
|
||||
name = "运营Mastodon"
|
||||
name = "运营 Mastodon"
|
||||
weight = 20
|
||||
identifier = "admin"
|
||||
url = "/admin/"
|
||||
[[languages.zh-cn.menu.docs]]
|
||||
name = "开发Mastodon应用"
|
||||
name = "开发 Mastodon 应用"
|
||||
weight = 30
|
||||
identifier = "client"
|
||||
url = "/client/"
|
||||
[[languages.zh-cn.menu.docs]]
|
||||
name = "向Mastodon项目做贡献"
|
||||
name = "向 Mastodon 项目做贡献"
|
||||
weight = 40
|
||||
identifier = "dev"
|
||||
url = "/dev/"
|
||||
|
@ -203,7 +205,7 @@ disablePathToLower = true
|
|||
[languages.zh-cn]
|
||||
contentDir = "content/zh-cn"
|
||||
languageName = "简体中文"
|
||||
weight = 1
|
||||
weight = -100
|
||||
|
||||
[languages.ja]
|
||||
contentDir = "content/ja"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue