forked from rust-lang/reference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbook.toml
More file actions
29 lines (22 loc) · 788 Bytes
/
book.toml
File metadata and controls
29 lines (22 loc) · 788 Bytes
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
[book]
title = "The Rust Reference"
authors = ["The Rust Project Developers"]
[output.html]
additional-css = ["theme/reference.css"]
additional-js = ["theme/reference.js"]
git-repository-url = "https://github.com/rust-lang/reference/"
edit-url-template = "https://github.com/rust-lang/reference/edit/master/{path}"
smart-punctuation = true
[output.html.search.chapter]
"test-summary.md" = { enable = false }
"grammar.md" = { enable = false }
[output.html.redirect]
"/expressions/enum-variant-expr.html" = "struct-expr.html"
"/unsafe-blocks.html" = "unsafe-keyword.html"
"/unsafe-functions.html" = "unsafe-keyword.html"
[rust]
edition = "2024"
[preprocessor.spec]
command = "cargo run --release --manifest-path mdbook-spec/Cargo.toml"
[build]
extra-watch-dirs = ["mdbook-spec/src"]