File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -421,6 +421,9 @@ pub struct BookConfig {
421421 /// Location of the book source relative to the book's root directory.
422422 pub src : PathBuf ,
423423 /// Does this book support more than one language?
424+ // TODO: Remove this field in 0.5, it is unused:
425+ // https://github.com/rust-lang/mdBook/issues/2636
426+ #[ serde( skip_serializing) ]
424427 pub multilingual : bool ,
425428 /// The main language of the book.
426429 pub language : Option < String > ,
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ All done, no errors...
2828[book]
2929authors = []
3030language = "en"
31- multilingual = false
3231src = "src"
3332
3433"# ] ] ,
@@ -95,7 +94,6 @@ All done, no errors...
9594[book]
9695authors = []
9796language = "en"
98- multilingual = false
9997src = "src"
10098
10199"# ] ] ,
@@ -129,7 +127,6 @@ All done, no errors...
129127[book]
130128authors = []
131129language = "en"
132- multilingual = false
133130src = "src"
134131title = "Example title"
135132
@@ -182,7 +179,6 @@ fn init_with_custom_book_and_src_locations() {
182179[book]
183180authors = []
184181language = "en"
185- multilingual = false
186182src = "in"
187183
188184[build]
Original file line number Diff line number Diff line change @@ -188,7 +188,6 @@ fn backends_receive_render_context_via_stdin() {
188188 "book": {
189189 "authors": [],
190190 "language": "en",
191- "multilingual": false,
192191 "src": "src"
193192 },
194193 "output": {
You can’t perform that action at this time.
0 commit comments