browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

Test for broken links

Open ddbeck opened this issue 7 years ago • 5 comments

From the discussion on #1990, it'd be nice to have automatic checks on URLs that appear in the BCD data, both in mdn_urls and in notes.

I have a little bit of a proof of concept in the form of a script I use as a local pre-commit hook. Unfortunately, it's not at all clever, uses some non-standard tools, and it's a fish shell script, so it's not exactly portable. There's probably a right way to do this but I'm not sure what that would look like.

Additionally, previously related issues #1998 and #1703 imply that it may be desirable to have some broken links (e.g., MDN pages that should exist, but don't).

ddbeck avatar May 23 '18 12:05 ddbeck