Files
rcdoc-pipeline/mdbook/mdbook-logo-setup.sh

72 lines
1.8 KiB
Bash

# 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 <head> section:
# head-template = """
# <link rel="preconnect" href="https://fonts.googleapis.com">
# <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
# <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
# """
# 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/"