config.toml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. baseURL = "https://docs.joinmastodon.org/"
  2. defaultContentLanguage = "en"
  3. title = "Mastodon documentation"
  4. pygmentsCodeFences = true
  5. pygmentsStyle = "dracula"
  6. metaDataFormat = "yaml"
  7. paginate = 100
  8. enableGitInfo = true
  9. disablePathToLower = true
  10. [markup]
  11. [markup.tableOfContents]
  12. endLevel = 3
  13. ordered = false
  14. startLevel = 1
  15. [markup.goldmark.renderer]
  16. unsafe = true
  17. [languages.en.menu]
  18. [[languages.en.menu.docs]]
  19. name = "Using Mastodon"
  20. weight = 10
  21. identifier = "user"
  22. url = "/user/"
  23. [[languages.en.menu.docs]]
  24. name = "Running Mastodon"
  25. weight = 20
  26. identifier = "admin"
  27. url = "/admin/"
  28. [[languages.en.menu.docs]]
  29. name = "Developing Mastodon apps"
  30. weight = 30
  31. identifier = "client"
  32. url = "/client/"
  33. [[languages.en.menu.docs]]
  34. name = "Contributing to Mastodon"
  35. weight = 40
  36. identifier = "dev"
  37. url = "/dev/"
  38. [[languages.en.menu.docs]]
  39. name = "Spec compliance"
  40. weight = 50
  41. identifier = "spec"
  42. url = "/spec/"
  43. [[languages.en.menu.docs]]
  44. name = "REST API"
  45. weight = 60
  46. identifier = "api"
  47. url = "/api/"
  48. [[languages.en.menu.docs]]
  49. name = "API Methods"
  50. weight = 70
  51. identifier = "methods"
  52. url = "/methods/"
  53. [[languages.en.menu.docs]]
  54. name = "API Entities"
  55. weight = 80
  56. identifier = "entities"
  57. url = "/entities/"
  58. [languages.pl.menu]
  59. [[languages.pl.menu.docs]]
  60. name = "Korzystaj z Mastodona"
  61. weight = 10
  62. identifier = "user"
  63. url = "/user/"
  64. [[languages.pl.menu.docs]]
  65. name = "Uruchamianie Mastodona"
  66. weight = 20
  67. identifier = "admin"
  68. url = "/admin/"
  69. [[languages.pl.menu.docs]]
  70. name = "Twórz aplikacje dla Mastodona"
  71. weight = 30
  72. identifier = "client"
  73. url = "/client/"
  74. [[languages.pl.menu.docs]]
  75. name = "Współtwórz Mastodona"
  76. weight = 40
  77. identifier = "dev"
  78. url = "/dev/"
  79. [[languages.pl.menu.docs]]
  80. name = "Zgodność ze specyfikacją"
  81. weight = 50
  82. identifier = "spec"
  83. url = "/spec/"
  84. [[languages.pl.menu.docs]]
  85. name = "REST API"
  86. weight = 60
  87. identifier = "api"
  88. url = "/api/"
  89. [[languages.pl.menu.docs]]
  90. name = "Metody API"
  91. weight = 70
  92. identifier = "methods"
  93. url = "/methods/"
  94. [[languages.pl.menu.docs]]
  95. name = "Jednostki API"
  96. weight = 80
  97. identifier = "entities"
  98. url = "/entities/"
  99. [languages.zh-cn.menu]
  100. [[languages.zh-cn.menu.docs]]
  101. name = "使用Mastodon"
  102. weight = 10
  103. identifier = "user"
  104. url = "/user/"
  105. [[languages.zh-cn.menu.docs]]
  106. name = "运营Mastodon"
  107. weight = 20
  108. identifier = "admin"
  109. url = "/admin/"
  110. [[languages.zh-cn.menu.docs]]
  111. name = "开发Mastodon应用"
  112. weight = 30
  113. identifier = "client"
  114. url = "/client/"
  115. [[languages.zh-cn.menu.docs]]
  116. name = "向Mastodon项目做贡献"
  117. weight = 40
  118. identifier = "dev"
  119. url = "/dev/"
  120. [[languages.zh-cn.menu.docs]]
  121. name = "遵循的标准"
  122. weight = 50
  123. identifier = "spec"
  124. url = "/spec/"
  125. [[languages.zh-cn.menu.docs]]
  126. name = "REST API"
  127. weight = 60
  128. identifier = "api"
  129. url = "/api/"
  130. [[languages.zh-cn.menu.docs]]
  131. name = "API 方法"
  132. weight = 70
  133. identifier = "methods"
  134. url = "/methods/"
  135. [[languages.zh-cn.menu.docs]]
  136. name = "API 实体"
  137. weight = 80
  138. identifier = "entities"
  139. url = "/entities/"
  140. [languages.ja.menu]
  141. [[languages.ja.menu.docs]]
  142. name = "Mastodonを使う"
  143. weight = 10
  144. identifier = "user"
  145. url = "/user/"
  146. [[languages.ja.menu.docs]]
  147. name = "Mastodonを動かす"
  148. weight = 20
  149. identifier = "admin"
  150. url = "/admin/"
  151. [[languages.ja.menu.docs]]
  152. name = "Mastodonアプリを開発する"
  153. weight = 30
  154. identifier = "client"
  155. url = "/client/"
  156. [[languages.ja.menu.docs]]
  157. name = "Mastodonの開発に貢献する"
  158. weight = 40
  159. identifier = "dev"
  160. url = "/dev/"
  161. [[languages.ja.menu.docs]]
  162. name = "準拠している仕様"
  163. weight = 50
  164. identifier = "spec"
  165. url = "/spec/"
  166. [[languages.ja.menu.docs]]
  167. name = "REST API"
  168. weight = 60
  169. identifier = "api"
  170. url = "/api/"
  171. [[languages.ja.menu.docs]]
  172. name = "API Methods"
  173. weight = 70
  174. identifier = "methods"
  175. url = "/methods/"
  176. [[languages.ja.menu.docs]]
  177. name = "API Entities"
  178. weight = 80
  179. identifier = "entities"
  180. url = "/entities/"
  181. [languages]
  182. [languages.en]
  183. contentDir = "content/en"
  184. languageName = "English"
  185. languageCode = "en-US"
  186. weight = -99
  187. [languages.pl]
  188. contentDir = "content/pl"
  189. languageName = "Polski"
  190. weight = 0
  191. [languages.zh-cn]
  192. contentDir = "content/zh-cn"
  193. languageName = "简体中文"
  194. languageCode = "zh-CN"
  195. weight = 1
  196. [languages.ja]
  197. contentDir = "content/ja"
  198. languageName = "日本語"
  199. weight = 2