Skip to content

Commit 7e09491

Browse files
authored
Merge pull request #2789 from ehuss/remove-book-json
Remove book.json warning
2 parents b51d3e5 + f47066f commit 7e09491

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)