# mdbook HTML output configuration with logo support # This section should be added to your book.toml file [output.html] # Custom CSS for logo and branding additional-css = ["theme/custom.css"] # Optional: Additional theme customizations # Uncomment and modify as needed # Set default theme (light, coal, navy, ayu, rust) # default-theme = "light" # Enable code copy button # copy-fonts = true # Git repository link (shows edit button) # git-repository-url = "https://github.com/yourorg/yourrepo" # git-repository-icon = "fa-github" # Custom favicon # site-url = "https://yoursite.com/" # favicon = "theme/favicon.ico" # Enable print support # print = { enable = true } # Search configuration # [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 # Playground configuration for code examples # [output.html.playground] # editable = false # copyable = true # copy-js = true # line-numbers = false # runnable = true # Optional: Custom head content # This is useful for analytics, fonts, or other custom HTML # [output.html] # additional-js = ["theme/custom.js"] # # Or add to the
section: # head-template = """ # # # # """ # Mathjax support for mathematical expressions # [output.html.playground] # line-numbers = true # [preprocessor.mathjax] # Custom 404 page # [output.html] # input-404 = "src/404.md" # Redirect configuration # [output.html.redirect] # "/old-page.html" = "/new-page.html" # "/legacy/" = "/current/"