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/"
|
baseURL = "https://mastodon.d10n.wholetrans.org/"
|
||||||
languageCode = "en-us"
|
languageCode = "zh-cn"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "zh-cn"
|
||||||
title = "Mastodon documentation"
|
# To avoid alias conflict
|
||||||
|
defaultContentLanguageInSubdir = true
|
||||||
|
title = "Mastodon 文档"
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
pygmentsStyle = "github-dark"
|
pygmentsStyle = "github-dark"
|
||||||
metaDataFormat = "yaml"
|
metaDataFormat = "yaml"
|
||||||
|
@ -106,22 +108,22 @@ disablePathToLower = true
|
||||||
|
|
||||||
[languages.zh-cn.menu]
|
[languages.zh-cn.menu]
|
||||||
[[languages.zh-cn.menu.docs]]
|
[[languages.zh-cn.menu.docs]]
|
||||||
name = "使用Mastodon"
|
name = "使用 Mastodon"
|
||||||
weight = 10
|
weight = 10
|
||||||
identifier = "user"
|
identifier = "user"
|
||||||
url = "/user/"
|
url = "/user/"
|
||||||
[[languages.zh-cn.menu.docs]]
|
[[languages.zh-cn.menu.docs]]
|
||||||
name = "运营Mastodon"
|
name = "运营 Mastodon"
|
||||||
weight = 20
|
weight = 20
|
||||||
identifier = "admin"
|
identifier = "admin"
|
||||||
url = "/admin/"
|
url = "/admin/"
|
||||||
[[languages.zh-cn.menu.docs]]
|
[[languages.zh-cn.menu.docs]]
|
||||||
name = "开发Mastodon应用"
|
name = "开发 Mastodon 应用"
|
||||||
weight = 30
|
weight = 30
|
||||||
identifier = "client"
|
identifier = "client"
|
||||||
url = "/client/"
|
url = "/client/"
|
||||||
[[languages.zh-cn.menu.docs]]
|
[[languages.zh-cn.menu.docs]]
|
||||||
name = "向Mastodon项目做贡献"
|
name = "向 Mastodon 项目做贡献"
|
||||||
weight = 40
|
weight = 40
|
||||||
identifier = "dev"
|
identifier = "dev"
|
||||||
url = "/dev/"
|
url = "/dev/"
|
||||||
|
@ -203,7 +205,7 @@ disablePathToLower = true
|
||||||
[languages.zh-cn]
|
[languages.zh-cn]
|
||||||
contentDir = "content/zh-cn"
|
contentDir = "content/zh-cn"
|
||||||
languageName = "简体中文"
|
languageName = "简体中文"
|
||||||
weight = 1
|
weight = -100
|
||||||
|
|
||||||
[languages.ja]
|
[languages.ja]
|
||||||
contentDir = "content/ja"
|
contentDir = "content/ja"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue