-
Notifications
You must be signed in to change notification settings - Fork 522
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
Can't run mdbook build
locally without installing or disabling linkcheck
#2178
Comments
Do you have mdbook-linkcheck2 installed? That's what the error seems to suggest the issue is. |
I've never manually installed it, so presumably it isn't installed. |
We've switched to a different version so you'll have to install it. Feel free to reopen if I misunderstood the issue. :) |
Well, the issue is that I can no longer build the book without either manually installing linkcheck, or manually disabling linkcheck. But I don't care about linkcheck; I just want to build the book to preview my changes. So the workflow for doing that has become more complicated. At the very least, it would be nice to have an error message that indicates how to disable linkcheck. |
mdbook build
locally due to missing linkcheckmdbook build
locally without installing or disabling linkcheck
Fair enough. I've opened a PR to make it opt-in instead. #2180 |
As of #2103:
Building the book now fails if
mdbook-linkcheck2
has not been manually installed, even if the contributor doesn't care about linkcheck and just wants to build the book to preview their changes.And while there is a workaround available, it isn't mentioned by the error message at all.
As a temporary workaround, this works:
The text was updated successfully, but these errors were encountered: