Skip to content

Commit 40469f4

Browse files
committed
Handle rendered docs linkcheck exclusions
1 parent e8bca70 commit 40469f4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/check-doc-links.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
- name: Check rendered docs links
6464
uses: lycheeverse/lychee-action@6da1d14f3a43098a294b7696d93d938aa8d20fc0 # unreleased: supports v0.24.x archive layout
6565
with:
66+
# PR-preview canonical URLs are checked by the preview deployment workflow.
67+
# The cuda-bindings #id links are docutils "problematic" anchors from generated API docs.
68+
# Preferred Networks rejects hosted-runner GETs, but the URL is browser reachable.
6669
args: >-
6770
--files-from ${{ github.workspace }}/lychee-rendered-html-files.txt
6871
--include-fragments=full
@@ -75,6 +78,9 @@ jobs:
7578
--retry-wait-time 5
7679
--timeout 30
7780
--no-progress
81+
--exclude '^https://nvidia\.github\.io/cuda-python/pr-preview/pr-[0-9]+/'
82+
--exclude '^file://.*/cuda-bindings/latest/module/(driver|runtime)\.html#id[0-9]+$'
83+
--exclude '^https://www\.preferred\.jp/en/?$'
7884
fail: true
7985
failIfEmpty: true
8086
format: markdown

0 commit comments

Comments
 (0)