-
-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathbook.toml
More file actions
37 lines (30 loc) · 1.03 KB
/
book.toml
File metadata and controls
37 lines (30 loc) · 1.03 KB
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
[book]
title = "GB ASM Tutorial"
description = "A complete guide to programming Game Boy games in assembly."
language = "en"
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"]
smart-punctuation = 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]
optional = true