forked from opentensor/old-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
book.toml
34 lines (29 loc) · 1.27 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
[book]
authors = ["Yuma Rao"]
language = "en"
multilingual = false
src = "src"
title = ""
[output.html]
default-theme = "light"
preferred-dark-theme = "light"
copy-fonts = true
no-section-label = true
git-repository-url = "https://github.com/opentensor/docs" # adds link to github repository
git-repository-icon = "fa-github" # creates github icon
edit-url-template = "https://github.com/opentensor/docs/edit/main/{path}" # adds icon to make edit suggestions
additional-css = ["theme/custom.css"]
[output.html.fold]
enable = true # whether or not to enable section folding
level = 0 # the depth to start folding
[output.html.search]
enable = true # enables the search feature
limit-results = 30 # maximum number of search results
teaser-word-count = 30 # number of words used for a search result teaser
use-boolean-and = true # multiple search terms must all match
boost-title = 2 # ranking boost factor for matches in headers
boost-hierarchy = 1 # ranking boost factor for matches in page names
boost-paragraph = 1 # ranking boost factor for matches in text
expand = true # partial words will match longer terms
heading-split-level = 3 # link results to heading levels
copy-js = true # include Javascript code for search