test: documentation validation workflow (fork test) - #2
Merged
Conversation
Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
On pull requests, only the Markdown files the PR changed have their live external links checked, keeping the required signal fast and resilient to unrelated third-party outages. The full repository is swept on the weekly schedule and on manual dispatch; a scheduled failure opens or updates a link-rot tracking issue instead of failing silently. check_external_links.py now accepts explicit Markdown paths and ignores any that are not tracked Markdown files. Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
| ) | ||
| AUTOLINK_TRAILING_PUNCTUATION = "?!.,:*_~" | ||
| OPENING_FENCE = re.compile(r"^[ \t]*(`{3,}|~{3,})(.*)$") | ||
| ATX_HEADING = re.compile(r"^ {0,3}#{1,6}(?:[ \t]+|$)(.*)$") |
| """Return inline-link targets with each complete link's source span.""" | ||
| targets: list[tuple[str, int, int]] = [] | ||
| position = 0 | ||
| link_start = re.compile(r"!?\[(?:\\.|[^]])*?\]\(", re.DOTALL) |
| import socket | ||
| import sys | ||
| import tempfile | ||
| import unittest |
www.keyshot.com returns HTTP 403 to both the checker's HEAD and minimal GET while loading normally in a browser (verified 200 with a browser user agent), matching the documented bot-rejection ignore criteria. Signed-off-by: Stephen Crowe <6042774+crowecawcaw@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fork-only PR to exercise the new changed-files external-link job. Do not merge.