@@ -395,11 +395,6 @@ pub struct BookConfig {
395395 pub description : Option < String > ,
396396 /// Location of the book source relative to the book's root directory.
397397 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 ,
403398 /// The main language of the book.
404399 pub language : Option < String > ,
405400 /// The direction of text in the book: Left-to-right (LTR) or Right-to-left (RTL).
@@ -414,7 +409,6 @@ impl Default for BookConfig {
414409 authors : Vec :: new ( ) ,
415410 description : None ,
416411 src : PathBuf :: from ( "src" ) ,
417- multilingual : false ,
418412 language : Some ( String :: from ( "en" ) ) ,
419413 text_direction : None ,
420414 }
@@ -798,7 +792,6 @@ mod tests {
798792 title = "Some Book"
799793 authors = ["Michael-F-Bryan <michaelfbryan@gmail.com>"]
800794 description = "A completely useless book"
801- multilingual = true
802795 src = "source"
803796 language = "ja"
804797
@@ -837,7 +830,6 @@ mod tests {
837830 title : Some ( String :: from ( "Some Book" ) ) ,
838831 authors : vec ! [ String :: from( "Michael-F-Bryan <michaelfbryan@gmail.com>" ) ] ,
839832 description : Some ( String :: from ( "A completely useless book" ) ) ,
840- multilingual : true ,
841833 src : PathBuf :: from ( "source" ) ,
842834 language : Some ( String :: from ( "ja" ) ) ,
843835 text_direction : None ,
0 commit comments