Skip to content

Commit 19b59a4

Browse files
committed
Support building books using mdbook in main (v0.5.x)
- Missing preprocessors are now an error unless the `optional` field is set: rust-lang/mdBook@d7892f5 - Fix: [ERROR] (mdbook_core::utils): Error: Failed to deserialize `{name}`. Caused By: unknown field `editor`, expected one of `editable`, `copyable`, `copy-js`, `line-numbers`, `runnable` Signed-off-by: Hollow Man <[email protected]>
1 parent a5fec39 commit 19b59a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ authors = ["The Rust Community"]
55

66
[output.html.playpen]
77
editable = true
8-
editor = "ace"
98
line-numbers = true
109

1110
[output.html.fold]
@@ -27,4 +26,5 @@ edition = "2021"
2726
extra-watch-dirs = ["po"]
2827

2928
[preprocessor.gettext]
29+
optional = true
3030
after = ["links"]

0 commit comments

Comments
 (0)