-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Description
The purpose of running make linkcheck is to ensure:
- Newly added/modified links are valid
- Existing links are still valid
There was a huge benefit when adding this check, which surfaced all the invalid links that had been sitting unnoticed. However, I don't think we've gained much from it since then. The check is running on every single code change to a repo with a docs project. It's mostly been false-positives and I can only recall one true positive.
Possible solutions
- Run linkcheck on a schedule (e.g. weekly).
- This removes the immediate feedback on newly added links, but I think it's acceptable for these reasons:
- It's unlikely that a PR author will add an invalid link.
- Most broken links do not need to immediately be fixed.
- For broken links that would benefit from immediate fix, a thorough review should catch these.
- This removes the immediate feedback on newly added links, but I think it's acceptable for these reasons:
- Run linkcheck on CI but only when there are code changes in
inputs.docs-directory.- This should be trivial to implement and maybe less controversial than (1).
priority: low
To be resolved after high and moderate priority issues
With #106 resolved, things should be manageable. The benefits are:
- Avoid causing confusion on some PRs. Errors from transient broken links are unnecessary noise on PRs that have not changed the link itself.
- A reduction of unnecessary CPU cycles.
Metadata
Metadata
Assignees
Labels
No labels