config.toml 4.7 KB

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