-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mdbook serve
creates files linked from summary if they do not exist
#1246
Comments
This also adds an unfortunate side effect that if I run Which is another thing that seems counter-intuitive to me, since if I want to remove a note/delete a file, then I must remove it first from the |
Yea, that's intentional. It could probably be documented better. As for the Also, FYI, the next release will support "draft" chapters, which allow you to add entries that won't automatically create new files (#1153). |
The "draft" chapters feature has landed in 0.4.0. I think this issue can be closed. |
Probably should still update the build, serve, and watch documentation to mention that missing files in the SUMMARY are auto-generated. |
I'm relatively sure that this is a "feature" and not a bug, but the behaviour surprised me.
I created a
SUMMARY.md
like the following:With the
#
uri as a placeholder since I hadn't yet created the file.When I ran
mdbook serve
I was surprised to discover that thesrc/#
file existed!I guess this may be the behaviour described in the User Guide here:
Should this also happen when running
mdbook serve
?The text was updated successfully, but these errors were encountered: