When mdbook serve or mdbook watch, mdbook will automatically create files that do not exist in dirs. It is convenient but sometimes may cause mistakes. For example, sometimes I type the wrong filename and save the SUMMARY.md, but mdbook helps me create the file, and I have to delete the file manually.
Is there an option to disable automatic file creation from SUMMARY.md? Like mdbook serve --no-create-file (the name --no-create-file may not be the best). And the mdbook compiler will not create files but raise warnings in the command line.
Question
When
mdbook serve
ormdbook watch
, mdbook will automatically create files that do not exist in dirs. It is convenient but sometimes may cause mistakes. For example, sometimes I type the wrong filename and save theSUMMARY.md
, but mdbook helps me create the file, and I have to delete the file manually.Is there an option to disable automatic file creation from
SUMMARY.md
? Likemdbook serve --no-create-file
(the name--no-create-file
may not be the best). And the mdbook compiler will not create files but raise warnings in the command line.Version