documentation/config.toml

112 lines
2.5 KiB
TOML
Raw Normal View History

2018-09-23 00:14:25 +02:00
baseURL = "http://docs.joinmastodon.org/"
languageCode = "en-us"
defaultContentLanguage = "en"
title = "Mastodon documentation"
pygmentsCodeFences = true
pygmentsStyle = "dracula"
metaDataFormat = "yaml"
paginate = 100
enableGitInfo = true
2020-07-01 02:11:40 +02:00
[markup]
[markup.tableOfContents]
endLevel = 2
ordered = false
startLevel = 1
[languages.en.menu]
[[languages.en.menu.docs]]
name = "Using Mastodon"
weight = 10
identifier = "user"
url = "/user/"
[[languages.en.menu.docs]]
name = "Running Mastodon"
weight = 20
identifier = "admin"
url = "/admin/"
[[languages.en.menu.docs]]
name = "Developing Mastodon apps"
weight = 30
identifier = "client"
url = "/client/"
[[languages.en.menu.docs]]
name = "Contributing to Mastodon"
weight = 40
identifier = "dev"
url = "/dev/"
[[languages.en.menu.docs]]
name = "Spec compliance"
weight = 50
identifier = "spec"
url = "/spec/"
[[languages.en.menu.docs]]
name = "REST API"
weight = 60
2018-09-23 01:00:04 +02:00
identifier = "api"
url = "/api/"
[[languages.en.menu.docs]]
name = "API Methods"
weight = 70
identifier = "methods"
url = "/methods/"
[[languages.en.menu.docs]]
name = "API Entities"
weight = 80
identifier = "entities"
url = "/entities/"
[languages.zh-cn.menu]
[[languages.zh-cn.menu.docs]]
name = "使用Mastodon"
weight = 10
identifier = "user"
url = "/user/"
[[languages.zh-cn.menu.docs]]
name = "运营Mastodon"
weight = 20
identifier = "admin"
url = "/admin/"
[[languages.zh-cn.menu.docs]]
name = "开发Mastodon应用"
weight = 30
identifier = "client"
url = "/client/"
[[languages.zh-cn.menu.docs]]
name = "向Mastodon项目做贡献"
weight = 40
identifier = "dev"
url = "/dev/"
[[languages.zh-cn.menu.docs]]
name = "遵循的标准"
weight = 50
identifier = "spec"
url = "/spec/"
[[languages.zh-cn.menu.docs]]
name = "REST API"
weight = 60
identifier = "api"
url = "/api/"
[[languages.zh-cn.menu.docs]]
name = "API 方法"
weight = 70
identifier = "methods"
url = "/methods/"
[[languages.zh-cn.menu.docs]]
name = "API 实体"
weight = 80
identifier = "entities"
url = "/entities/"
[languages]
[languages.en]
contentDir = "content/en"
languageName = "English"
weight = -99
[languages.zh-cn]
contentDir = "content/zh-cn"
languageName = "简体中文"
weight = 1