We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b03a2d8 commit 9693061Copy full SHA for 9693061
.github/workflows/doc-build.yml
@@ -21,12 +21,12 @@ jobs:
21
- name: Check URLs
22
run: bash ./scripts/check_urls.sh
23
24
- check-links:
+ check-xrefs:
25
runs-on: ubuntu-latest
26
steps:
27
- uses: actions/checkout@v3
28
- name: Check Links
29
- run: bash ./scripts/check_links.sh
+ run: bash ./scripts/check_xrefs.sh
30
31
build:
32
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
scripts/check_links.sh renamed to scripts/check_xrefs.sh
@@ -24,7 +24,7 @@ while IFS=: read -r filepath link; do
fi
done < <(
git --no-pager grep --no-color -I -o -E \
- '\[[^]]+\]\([^)]*/[^)]*\)|href="[^"]*/[^"]*"|src="[^"]*/[^"]*"' \
+ '\[[^]]+\]\([^[:space:])]*/[^[:space:])]*\)|href="[^"]*/[^"]*"|src="[^"]*/[^"]*"' \
-- '*' \
':(exclude).*' \
':(exclude)**/.*' \
0 commit comments