baseURL = 'https://doc.hytaledev.fr/'  
title = 'Hytale Plugin Documentation'
theme = 'hextra'
buildFuture = true
defaultContentLanguage = 'en'
defaultContentLanguageInSubdir = false
disableAliases = true

[build]
  writeStats = false
  
[outputs]
  home = ["HTML", "RSS", "JSON"]

[languages]
  [languages.en]
    languageName = 'English'
    weight = 1
    [languages.en.params]
      description = 'Community documentation for Hytale plugin development'
  [languages.fr]
    languageName = 'Français'
    weight = 2
    [languages.fr.params]
      description = 'Documentation communautaire pour le développement de plugins Hytale'

[params]
  [params.navbar]
    displayTitle = true
    displayLogo = false
  [params.theme]
    default = "system"
    displayToggle = true
  [params.footer]
    displayPoweredBy = true
  [params.editURL]
    enable = false
  [params.social]
    discord = "https://discord.gg/4UPCz84Nst"

[menu]
  [[menu.main]]
    name = 'Getting Started'
    pageRef = '/getting-started'
    weight = 1
  [[menu.main]]
    name = 'Core Concepts'
    pageRef = '/core-concepts'
    weight = 2
  [[menu.main]]
    name = 'Gameplay Systems'
    pageRef = '/gameplay-systems'
    weight = 3
  [[menu.main]]
    name = 'World'
    pageRef = '/world'
    weight = 4
  [[menu.main]]
    name = 'UI Systems'
    pageRef = '/ui-systems'
    weight = 5
  [[menu.main]]
    name = 'Advanced'
    pageRef = '/advanced'
    weight = 6
  [[menu.main]]
    name = 'Reference'
    pageRef = '/reference'
    weight = 7
  [[menu.main]]
    name = 'Search'
    weight = 8
    [menu.main.params]
      type = 'search'
  [[menu.main]]
    name = 'Language'
    weight = 9
    [menu.main.params]
      type = 'language-switch'

[markup]
  [markup.highlight]
    noClasses = false
  [markup.goldmark]
    [markup.goldmark.renderer]
      unsafe = true
