Because the pull_request checks are building docs from main, the checks fail due to mdbook 0.5 changing and removing some fields. This change should allow the books to work with both 0.4 and 0.5. In particular: - `multilingual` -- This was never used, is optional, and is ignored in 0.4. This is rejected in 0.5. - `curly-quotes` -- This was renamed to `smart-punctuation` a long while ago. Both 0.4 and 0.5 use `smart-punctuation`, and 0.5 has removed the old `curly-quotes`. - `src` -- This isn't needed and is an artifact of an `mdbook init` bug.
13 lines
432 B
TOML
13 lines
432 B
TOML
[book]
|
|
authors = ["The Rust Project Developers"]
|
|
title = "The rustup book"
|
|
|
|
[output.html]
|
|
smart-punctuation = true
|
|
edit-url-template = "https://github.com/rust-lang/rustup/edit/HEAD/doc/user-guide/{path}"
|
|
git-repository-url = "https://github.com/rust-lang/rustup/tree/HEAD/doc/user-guide"
|
|
site-url = "https://rust-lang.github.io/rustup/"
|
|
|
|
[output.html.redirect]
|
|
"/installation/package-managers.html" = "already-installed-rust.html"
|