Skip to content

Commit f47066f

Browse files
committed
Remove book.json warning
This warning was added in #510 in 2017. I think plenty enough time has passed for projects to update.
1 parent 79e9ae4 commit f47066f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

crates/mdbook-driver/src/mdbook.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff 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!("\thttps://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)?

0 commit comments

Comments
 (0)