Skip to content

Warn about 404 links #1648

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

Closed
Volker-Weissmann opened this issue Sep 8, 2021 · 1 comment
Closed

Warn about 404 links #1648

Volker-Weissmann opened this issue Sep 8, 2021 · 1 comment

Comments

@Volker-Weissmann
Copy link

If you do[desc](path/to/nonexisting.html), you obviously get a 404 link. I think running mdbook should either error out or at least print a warning so that it's caught in testing/CI/CD.

For example, I just found some 404 links in the lalrpop book.

@ehuss
Copy link
Contributor

ehuss commented Sep 8, 2021

mdbook-linkcheck is the common solution for adding link checking. Otherwise, I think this is mostly a duplicate of #431, so closing in favor of that.

@ehuss ehuss closed this as completed Sep 8, 2021
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

No branches or pull requests

2 participants