-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbook.toml
More file actions
53 lines (45 loc) · 1.12 KB
/
book.toml
File metadata and controls
53 lines (45 loc) · 1.12 KB
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
[book]
title = "The Complete Future Trait Guide"
description = "Mastering Async Programming in Rust"
authors = ["Hamze Ghalebi"]
language = "en"
multilingual = false
src = "book"
[rust]
edition = "2021"
[output.html]
default-theme = "navy"
preferred-dark-theme = "navy"
curly-quotes = true
mathjax-support = false
copy-fonts = true
additional-css = ["theme/custom.css"]
additional-js = ["theme/custom.js"]
no-section-label = false
git-repository-url = "https://github.com/your-repo/future-trait-tutorial"
edit-url-template = "https://github.com/your-repo/future-trait-tutorial/edit/main/book/{path}"
[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
[output.html.print]
enable = true
[output.html.fold]
enable = false
level = 0
[output.epub]
# EPUB-specific configuration
cover-image = "cover.png"
additional-css = ["theme/epub.css"]
use-default-css = true
curly-quotes = true
[preprocessor.links]
# Custom link preprocessing if needed
[preprocessor.index]
# Custom index preprocessing if needed