-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
New linter error if the link in more information isn’t reachable anymore #280
Comments
Can you explain a bit about how we could implement it in Linter? Would you ping the page's links to check if it is reachable? Or is there something we can use natively? |
We could use wget to do something like this:
|
I think that this shouldn't really be part of the linter. 🤔 Especially as the linter runs every time a new page is added (or a PR is merged), we might be spamming a lot of sites. 😬 |
I get that! Maybe we can create a script that run's once a month to report any broken links? |
This is exactly what I thought too as we document lesser-known tools too, we might be stressing their servers by sending multiple requests at a time if it got included in the linter. |
This issue may be closed by tldr-pages/tldr#12506 |
To keep the pages up-to-date, we could introduce an linter error if the link in “More information” isn’t working/reachable.
The text was updated successfully, but these errors were encountered: