forked from Rust-Chinese-Translation/salsa-book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook.toml
42 lines (34 loc) · 1 KB
/
book.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[book]
authors = ["Salsa Contributors"]
multilingual = true
src = "src"
title = "Salsa(中文介绍)"
[build]
create-missing = false
# [preprocessor.theme]
# pagetoc = true
# sidebar-width = "280px"
# sidebar-font-size = "0.9em"
# nav-chapters-max-width = "3%"
# nav-chapters-min-width = "3%"
[output.html.fold]
enable = false
level = 1
[output.html.playground]
editable = false
[output.html.print]
enable = false
[preprocess.links]
[output.html]
default-theme = "ayu"
git-repository-url = "https://github.com/Rust-Chinese-Translation/salsa-book/tree/main"
edit-url-template = "https://github.com/Rust-Chinese-Translation/salsa-book/edit/main/{path}"
additional-css = ["theme/mermaid.css", "theme/pagetoc.css"]
additional-js = ["theme/mermaid.min.js", "theme/mermaid-init.js", "theme/pagetoc.js"]
[output.linkcheck]
# follow-web-links = true --- this is commented out b/c of false errors
traverse-parent-directories = false
exclude = ['bilibili\.com']
[preprocessor]
[preprocessor.mermaid]
command = "mdbook-mermaid"