File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -44,16 +44,6 @@ impl MDBook {
4444 let book_root = book_root. into ( ) ;
4545 let config_location = book_root. join ( "book.toml" ) ;
4646
47- // the book.json file is no longer used, so we should emit a warning to
48- // let people know to migrate to book.toml
49- if book_root. join ( "book.json" ) . exists ( ) {
50- warn ! ( "It appears you are still using book.json for configuration." ) ;
51- warn ! ( "This format is no longer used, so you should migrate to the" ) ;
52- warn ! ( "book.toml format." ) ;
53- warn ! ( "Check the user guide for migration information:" ) ;
54- warn ! ( "\t https://rust-lang.github.io/mdBook/format/config.html" ) ;
55- }
56-
5747 let mut config = if config_location. exists ( ) {
5848 debug ! ( "Loading config from {}" , config_location. display( ) ) ;
5949 Config :: from_disk ( & config_location) ?
You can’t perform that action at this time.
0 commit comments