-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbook.toml
43 lines (37 loc) · 1.04 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
[book]
title = "Rust Cargo 官书(非官方翻译)"
description = "Cargo "
authors = ["Alex Crichton, Steve Klabnik and Carol Nichols, with Contributions from the Rust Community","译文: Yobrave Lee"]
multilingual = false
src = "src"
[build]
build-dir = "docs"
create-missing = true
use-default-preprocessors = false
[preprocessor.links]
# renderers = ["html"]
[output.html]
mathjax-support = false
theme = "theme"
curly-quotes = true
# google-analytics = "UA-128555056-1"
# additional-css = ["theme/custom.css"]
git_repository_url = "/~https://github.com/chinanf-boy/cargo-book-zh"
git_repository_icon = "fa-github"
edit-url-template = "/~https://github.com/chinanf-boy/cargo-book-zh/edit/master/{path}"
# additional-js = ["theme/custom.js"]
[output.html.playpen]
# editor = "./path/to/editor"
editable = false
[output.html.search]
enable = true
# searcher = "./path/to/searcher"
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
# copy-js = true