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

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

[preprocessor.links]
# Enable link checking

[output.html]
# theme = "theme"  # Commented out - using default mdbook theme
default-theme = "ayu"
preferred-dark-theme = "navy"
smart-punctuation = true  # Renamed from curly-quotes
mathjax-support = false
copy-fonts = true
no-section-label = false
git-repository-url = "https://github.com/provisioning/provisioning-platform"
git-repository-icon = "fa-github"
edit-url-template = "https://github.com/provisioning/provisioning-platform/edit/main/provisioning/docs/{path}"
site-url = "/docs/"
cname = "docs.provisioning.local"
# 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]
editable = false
copyable = true
copy-js = true
line-numbers = true
runnable = false

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

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

[output.html.code]
hidelines = {}

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

[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
