config.toml 1.71 KB
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
baseURL = "http://docs.joinmastodon.org/"
languageCode = "en-us"
defaultContentLanguage = "en"
title = "Mastodon documentation"
pygmentsCodeFences = true
pygmentsStyle = "dracula"
metaDataFormat = "yaml"
paginate = 100
enableGitInfo = true

[languages]
  [languages.en]
    contentDir = "content/en"
    languageName = "English"
    weight = 1
16 17 18 19
  [languages.pl]
    contentDir = "content/pl"
    languageName = "Polski"
    weight = 1
Leia's avatar
Leia committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
  [languages.fr]
    contentDir = "content/fr"
    languageName = "Français"
    weight = 1
    [languages.fr.menu]
	[[languages.fr.menu.docs]]
	   name = "Guide d'utilisation"
	   weight = 1
    	   identifier = "usage"
           url = "/usage/"
	[[languages.fr.menu.docs]]
	   name = "Guide d'administration"
	   weight = 2
	   identifier = "administration"
	   url = "/administration/"
	[[languages.fr.menu.docs]]
	   name = "Guide de développement"
	   weight = 3
	   identifier = "development"
	   url = "/development/"
	[[languages.fr.menu.docs]]
	   name = "Aperçu de l'API"
	   weight = 4
	   identifier = "api"
	   url = "/api/"
	[[languages.fr.menu.docs]]
	   name = "API REST"
	   weight = 5
	   identifier = "rest-api"
	   url = "/api/rest/"
Eugen Rochko's avatar
Eugen Rochko committed
50 51 52 53 54

[menu]
  [[menu.docs]]
    name = "User guide"
    weight = 1
Eugen Rochko's avatar
Eugen Rochko committed
55 56
    identifier = "usage"
    url = "/usage/"
Eugen Rochko's avatar
Eugen Rochko committed
57 58 59
  [[menu.docs]]
    name = "Administrator guide"
    weight = 2
Eugen Rochko's avatar
Eugen Rochko committed
60 61 62
    identifier = "administration"
    url = "/administration/"
  [[menu.docs]]
63
    name = "API Overview"
Eugen Rochko's avatar
Eugen Rochko committed
64 65 66
    weight = 4
    identifier = "api"
    url = "/api/"
67 68 69 70 71
  [[menu.docs]]
    name = "REST API"
    weight = 5
    identifier = "rest-api"
    url = "/api/rest/"
72 73 74 75 76
  [[menu.docs]]
    name = "Development guide"
    weight = 3
    identifier = "development"
    url = "/development/"