-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook.toml
49 lines (38 loc) · 1.16 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
[book]
authors = ["Seasawher"]
language = "en"
multilingual = false
src = "booksrc"
title = "Lean Book"
description = "mdbook setup for Lean project"
[build]
create-missing = false
build-dir = "book"
[output.html]
no-section-label = false
git-repository-url = "https://github.com/Seasawher/lean-book"
# This is required to add "Run on Lean4 Playground" button to each page
edit-url-template = "https://raw.githubusercontent.com/Seasawher/lean-book/main/{path}"
# Necessary for 404 pages to work properly
site-url = "https://seasawher.github.io/lean-book/"
additional-js = [
# Add "Run on Lean4 Playground" button to each code block
"assets/blockPlay.js",
# Add "Run on Lean4 Playground" button to each page
"assets/filePlay.js",
# Improve search functionality
"assets/fzf.umd.js",
"assets/elasticlunr.js",
# add table of contents to each page
"assets/pagetoc.js",
]
additional-css = [
# style for mdbook-admonish
"assets/mdbook-admonish.css",
# add table of contents to each page
"assets/pagetoc.css"
]
[preprocessor]
[preprocessor.admonish]
command = "mdbook-admonish"
assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install`