-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
book.toml
44 lines (37 loc) · 1.19 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
[book]
title = "GB ASM Tutorial"
description = "A complete guide to programming Game Boy games in assembly."
language = "en"
multilingual = false
src = "src"
[build]
create-missing = true # This is kept for convenience, but CI sets it to false
use-default-preprocessors = false
extra-watch-dirs = ["po"]
[preprocessor.links]
[preprocessor.gettext]
command = "cargo run -p i18n-helpers --bin mdbook-gettext --locked --release --"
before = ["links"]
# Custom preprocessor for our custom markup
[preprocessor.custom]
command = "cargo run -p preproc --locked -rq --"
# Custom back-end for our custom markup
[output.custom]
command = "cargo run -p renderer --locked -rq --"
[output.html]
additional-css = [
"css/custom.css",
]
additional-js = [
"js/linenos.js",
]
# rgbasm.min.js gets injected into highlight.js by the renderer
curly-quotes = true
print = { enable = true }
fold = { enable = true, level = 0 }
git-repository-url = "https://github.com/gbdev/gb-asm-tutorial"
edit-url-template = "https://github.com/gbdev/gb-asm-tutorial/edit/master/{path}"
site-url = "/gb-asm-tutorial/"
[output.linkcheck]
traverse-parent-directories = true # We intentionally read some files outside of `src/`
optional = true