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 {
421
421
/// Location of the book source relative to the book's root directory.
422
422
pub src : PathBuf ,
423
423
/// 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) ]
424
427
pub multilingual : bool ,
425
428
/// The main language of the book.
426
429
pub language : Option < String > ,
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ All done, no errors...
28
28
[book]
29
29
authors = []
30
30
language = "en"
31
- multilingual = false
32
31
src = "src"
33
32
34
33
"# ] ] ,
@@ -95,7 +94,6 @@ All done, no errors...
95
94
[book]
96
95
authors = []
97
96
language = "en"
98
- multilingual = false
99
97
src = "src"
100
98
101
99
"# ] ] ,
@@ -129,7 +127,6 @@ All done, no errors...
129
127
[book]
130
128
authors = []
131
129
language = "en"
132
- multilingual = false
133
130
src = "src"
134
131
title = "Example title"
135
132
@@ -182,7 +179,6 @@ fn init_with_custom_book_and_src_locations() {
182
179
[book]
183
180
authors = []
184
181
language = "en"
185
- multilingual = false
186
182
src = "in"
187
183
188
184
[build]
Original file line number Diff line number Diff line change @@ -188,7 +188,6 @@ fn backends_receive_render_context_via_stdin() {
188
188
"book": {
189
189
"authors": [],
190
190
"language": "en",
191
- "multilingual": false,
192
191
"src": "src"
193
192
},
194
193
"output": {
You can’t perform that action at this time.
0 commit comments