-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbook.toml
68 lines (55 loc) · 1.69 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[book]
authors = ["Vitalii Perehonchuk"]
language = "uk"
multilingual = false
src = "./content/files/uk"
title = "WebDoky 3"
[build]
create-missing = false
[output.html]
additional-css = ["src/style.css"]
additional-js = ["src/script.js"]
no-section-label = true
[output.html.fold]
enable = true # whether or not to enable section folding
level = 1 # the depth to start folding
[output.html.print]
enable = false
[output.html.search]
enable = false
# [preprocessor.summary]
# before = ["links", "rewire-paths"]
# # command = "node scripts/summary/summary.js"
# command = "revamp/exe/summary"
[preprocessor.rewire-paths]
# command = "node scripts/rewire-paths/rewire-paths.js"
command = "revamp/exe/rewire-paths"
[preprocessor.writer]
after = ["rewire-paths", "run-macros"]
before = ["format-links"]
# before = ["summary"]
# command = "node scripts/writer/index.js"
command = "revamp/exe/writer"
# command = "./redirect_to_file.zsh"
# [preprocessor.yari-ports]
# after = ["summary"]
# before = ["links", "strip-frontmatter"]
# command = "node --experimental-specifier-resolution=node scripts/yari-ports/yari-ports.js"
# enable = false
[preprocessor.strip-frontmatter]
after = ["rewire-paths", "writer"]
before = ["links"]
# command = "node scripts/strip-frontmatter/strip-frontmatter.js"
command = "revamp/exe/strip-frontmatter"
[preprocessor.format-links]
after = ["rewire-paths", "run-macros"]
before = ["links"]
command = "revamp/exe/format-links"
# [preprocessor.inject-authors]
# after = ["summary"]
# before = ["rewire-paths"]
# command = "revamp/exe/inject-authors"
[preprocessor.run-macros]
after = ["rewire-paths"]
before = ["format-links", "links", "strip-frontmatter"]
command = "revamp/exe/run-macros"