[book]
authors = ["Provisioning Platform Team"]
description = "Complete documentation for the Provisioning Platform - Infrastructure automation with Nushell, Nickel, and Rust"
language = "en"
multilingual = false
src = "src"
title = "Provisioning Platform Documentation"

[build]
build-dir = "book"
create-missing = true

[preprocessor.links]
# Enable link checking

[output.html]
# theme = "theme"  # Commented out - using default mdbook theme
cname = "docs.provisioning.local"
copy-fonts = true
default-theme = "ayu"
edit-url-template = "https://github.com/provisioning/provisioning-platform/edit/main/provisioning/docs/{path}"
git-repository-icon = "fa-github"
git-repository-url = "https://github.com/provisioning/provisioning-platform"
mathjax-support = false
no-section-label = false
preferred-dark-theme = "navy"
site-url = "/docs/"
smart-punctuation = true                                                                                       # Renamed from curly-quotes
# input-404 = "404.md"  # Commented out - 404.md not created yet

  [output.html.print]
  enable = true

  [output.html.fold]
  enable = true
  level = 1

  [output.html.playground]
  copy-js = true
  copyable = true
  editable = false
  line-numbers = true
  runnable = false

  [output.html.search]
  boost-hierarchy = 1
  boost-paragraph = 1
  boost-title = 2
  enable = true
  expand = true
  heading-split-level = 3
  limit-results = 30
  teaser-word-count = 30
  use-boolean-and = true

  [output.html.code.highlightjs]
  additional-languages = ["nushell", "toml", "yaml", "bash", "rust", "nickel"]

  [output.html.code]
  hidelines = {}

    [[output.html.code.highlightjs.theme]]
    dark = "ayu-dark"
    light = "ayu-light"

  [output.html.redirect]
  # Add redirects for moved pages if needed

[rust]
edition = "2021"

# Custom preprocessors for Nushell and KCL syntax highlighting
# Note: These preprocessors are not installed, commented out for now
# [preprocessor.nushell-highlighting]
# Enable custom highlighting for Nushell code blocks

# [preprocessor.kcl-highlighting]
# Enable custom highlighting for KCL code blocks
