Add check for Markdown links in CI #276
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description & Motivation
Motivation
Since the ROHD project uses
Markdown
for writing documentation and tutorials, it would be nice to make things easier to work with. One of them is link checking. As evidence of the urgency of the problem, you can refer here:The proposed changes will completely solve the problem from the first point and mitigate the problem from the second point.
Description
The changes themselves are:
CI
, during which a link health check will be performed.The risks of adding a new action are minimal as it is executed in a job without permissions (
permissions: {}
).The configuration file comes with the address already added to the ignore list because there were false positives. An attempt to go to the address from a personal device without a proxy also failed, but the site is accessible when using a proxy. Probably DDoS protection applied.
Problems
Limited anchor link checking: available in beta and only for headers located in the document itself (there is an open issue: tcort/markdown-link-check#212).
Some alternative solutions have been explored, but all have a problem with handling anchor links pointing to other documents.
Related Issue(s)
No.
Testing
Several launches were made on our own branch:
test_a.md
andtest_b.md
demonstrating the ability to test anchor links. FAILURE.Backwards-compatibility
No.
Documentation
No.