-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
📘 DOC: Lint for broken links in all languages #103
Comments
This is old, and possibly out-of-date, but is this something you might be interested in exploring, @hippotastic ? Even if only to triage and let me know whether to close this issue, or to try and tackle it yourself? |
Sure @sarah11918, why not! I'll have a look 🙂 |
I've implemented it myself. See my PR above. The output looks like this:
When a link leads to a 404 page, the target href is prefixed by a ❌. |
@sarah11918 This issue can be closed now, my PR got merged. 🎉 |
YAY! 🥳 |
Currently we have a
yarn lint:linkcheck:local
command that can check for broken links, but we don't have any way to switch what language you're using without JS, so it only checks the English pages.I want to write a script using the programmatic version of blc to check all translations of the docs for broken links!
The text was updated successfully, but these errors were encountered: