Difficult-Rocket/docs/book.toml

52 lines
1.3 KiB
TOML
Raw Normal View History

2023-01-05 21:36:47 +08:00
[book]
authors = ["shenjack"]
language = "zh-cn"
multilingual = false
src = "src"
title = "Difficult-Rocket-docs"
[build]
2023-01-06 19:38:18 +08:00
build-dir = './book'
2023-01-05 21:36:47 +08:00
create-missing = false
use-default-preprocessors = true # use the default preprocessors
extra-watch-dirs = [] # directories to watch for triggering builds
[output.html]
input-404 = "404.md"
2023-01-06 16:03:13 +08:00
# Required: Your repository URL used in the link.
git-repository-url = "https://github.com/shenjackyuanjie/Difficult-Rocket"
# Your git branch. Defaults to `main`
git-branch = "main"
# The text to use in the footer.
# The link text is marked by `[]`
open-on-text = "Found a bug? [Edit this page on GitHub.]"
2023-01-17 23:54:40 +08:00
[output.linkcheck]
# Should we check links on the internet? Enabling this option adds a
# non-negligible performance impact
follow-web-links = false
# Are we allowed to link to files outside of the book's root directory? This
# may help prevent linking to sensitive files (e.g. "../../../../etc/shadow")
traverse-parent-directories = true
2023-01-05 21:36:47 +08:00
[output.html.search]
limit-results = 15
[output.html.print]
enable = true # include support for printable output
page-break = true # insert page-break after each chapter
2023-01-17 23:54:40 +08:00
# [output.pdf]
2023-01-05 22:09:49 +08:00
# [output.copy-resources]
# optional = true
# command = 'python output.py'
2023-01-05 21:36:47 +08:00
[rust]
edition = "2021" # the default edition for code blocks