@@ -395,11 +395,6 @@ pub struct BookConfig {
395
395
pub description : Option < String > ,
396
396
/// Location of the book source relative to the book's root directory.
397
397
pub src : PathBuf ,
398
- /// Does this book support more than one language?
399
- // TODO: Remove this field in 0.5, it is unused:
400
- // https://github.com/rust-lang/mdBook/issues/2636
401
- #[ serde( skip_serializing) ]
402
- pub multilingual : bool ,
403
398
/// The main language of the book.
404
399
pub language : Option < String > ,
405
400
/// The direction of text in the book: Left-to-right (LTR) or Right-to-left (RTL).
@@ -414,7 +409,6 @@ impl Default for BookConfig {
414
409
authors : Vec :: new ( ) ,
415
410
description : None ,
416
411
src : PathBuf :: from ( "src" ) ,
417
- multilingual : false ,
418
412
language : Some ( String :: from ( "en" ) ) ,
419
413
text_direction : None ,
420
414
}
@@ -798,7 +792,6 @@ mod tests {
798
792
title = "Some Book"
799
793
authors = ["Michael-F-Bryan <[email protected] >"]
800
794
description = "A completely useless book"
801
- multilingual = true
802
795
src = "source"
803
796
language = "ja"
804
797
@@ -837,7 +830,6 @@ mod tests {
837
830
title : Some ( String :: from ( "Some Book" ) ) ,
838
831
authors : vec ! [ String :: from
( "Michael-F-Bryan <[email protected] >" ) ] ,
839
832
description : Some ( String :: from ( "A completely useless book" ) ) ,
840
- multilingual : true ,
841
833
src : PathBuf :: from ( "source" ) ,
842
834
language : Some ( String :: from ( "ja" ) ) ,
843
835
text_direction : None ,
0 commit comments