Rustelo/book.toml
Jesús Pérex 2f0f807331 feat: add dark mode functionality and improve navigation system
- Add complete dark mode system with theme context and toggle
- Implement dark mode toggle component in navigation menu
- Add client-side routing with SSR-safe signal handling
- Fix language selector styling for better dark mode compatibility
- Add documentation system with mdBook integration
- Improve navigation menu with proper external/internal link handling
- Add comprehensive project documentation and configuration
- Enhance theme system with localStorage persistence
- Fix arena panic issues during server-side rendering
- Add proper TypeScript configuration and build optimizations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 20:53:20 +01:00

86 lines
1.8 KiB
TOML

[book]
title = "Rustelo Documentation"
description = "A comprehensive guide to building web applications with Rustelo - a modular Rust web application template"
authors = ["Rustelo Contributors"]
language = "en"
multilingual = false
src = "book"
book = "_book"
[rust]
edition = "2021"
[build]
build-dir = "_book"
create-missing = true
preprocess = ["links", "index"]
use-default-preprocessors = true
[preprocessor.links]
# Process relative links and convert them to proper mdBook links
[preprocessor.index]
# Generate index pages automatically
[output.html]
default-theme = "light"
preferred-dark-theme = "navy"
smart-punctuation = true
mathjax-support = false
copy-fonts = true
edit-url-template = "https://github.com/yourusername/rustelo/edit/main/book/{path}"
site-url = "/docs/"
cname = ""
git-repository-url = "https://github.com/yourusername/rustelo"
git-repository-icon = "fa-github"
# Logo configuration
# additional-css = ["theme/custom.css"]
# additional-js = ["theme/custom.js"]
[output.html.print]
enable = true
page-break = true
[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.redirect]
# Add redirects for moved pages if needed
[output.html.fold]
enable = false
level = 0
[output.html.playground]
runnable = true
copyable = true
copy-js = true
line-numbers = false
editable = false
# [output.linkcheck]
# # Check for broken links
# optional = true
# follow-web-links = false
# traverse-parent-directories = false
# exclude = [ "private" ]
# # Temporarily disabled due to broken links
# Optional: Generate PDF output
# [output.pdf]
# enable = true
# Optional: Generate EPUB output
# [output.epub]
# enable = true