-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook.toml
54 lines (45 loc) · 1.6 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
43
44
45
46
47
48
49
50
51
52
53
54
[book]
authors = ["Arman Riazi"]
language = "en"
multilingual = false
src = "./workspace/"
title = "rust-web(A.R)"
[rust]
edition = "2021" # the default edition for code blocks
#[preprocessor.index]
#[preprocessor.links]
[build]
build-dir = "book"
create-missing = true # whether or not to create missing pages
#use-default-preprocessors = true # use the default preprocessors
extra-watch-dirs = ["./workspace"]
[output.html]
# theme = "my-theme"
default-theme = "light"
preferred-dark-theme = "navy"
curly-quotes = true
mathjax-support = true
# copy-fonts = true
# additional-css = ["rust/assets/css/custom.css"]
# additional-js = ["rust/assets/js/custom.js"]
# no-section-label = false
git-repository-url = "https://github.com/armanriazi/rust-web/tree/main/workspace"
edit-url-template = "https://github.com/armanriazi/rust-web/edit/main/workspace/{path}"
git-repository-icon = "fa-github"
site-url = "/rust-web/"
# cname = "main.rs"
input-404 = "404.md"
[output.html.print]
enable = true # include support for printable output
page-break = true # insert page-break after each chapter
[output.html.fold]
enable = true # whether or not to enable section folding
level = 1 # the depth to start folding
[output.html.playground]
editable = true # allows editing the source code
copyable = true # include the copy button for copying code snippets
copy-js = true # includes the JavaScript for the code editor
line-numbers = true # displays line numbers for editable code
runnable = true # displays a run button for rust code
#[output.linkcheck]
#optional = true