Skip to content
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

Unhelpful Error when linking to nowhere in SUMMARY.md #566

Closed
Havvy opened this issue Jan 22, 2018 · 1 comment · Fixed by #567
Closed

Unhelpful Error when linking to nowhere in SUMMARY.md #566

Havvy opened this issue Jan 22, 2018 · 1 comment · Fixed by #567

Comments

@Havvy
Copy link
Contributor

Havvy commented Jan 22, 2018

Just got a PR that included [Text]() in the SUMMARY.md. The link text is empty. Since mdbook tries to create new pages for empty links, it's trying to create a link to a directory. This causes the failure message:

[ERROR] (mdbook::utils): Error: Is a directory (os error 21)

This may also happen if the link is to any directory?

@Michael-F-Bryan
Copy link
Contributor

This may also happen if the link is to any directory?

I'm assuming that's the case. It seems like an easy fix so I'll see if I can squeeze it in before the 0.1 release.

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 a pull request may close this issue.

2 participants