Skip to content

Improve SUMMARY parser error messages #567

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

Merged

Conversation

Michael-F-Bryan
Copy link
Contributor

We used to allow empty links (- [Empty]()) and links to a directory (- [Dir](some/dir/)) in the SUMMARY.md, resulting in useless error messages when you'd try to read the "file".

(fixes #566)

@Michael-F-Bryan Michael-F-Bryan merged commit 0d146ff into rust-lang:master Jan 22, 2018
@Michael-F-Bryan Michael-F-Bryan deleted the empty-path-in-summary branch January 22, 2018 15:49
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unhelpful Error when linking to nowhere in SUMMARY.md
1 participant