Skip to content

Commit 1e49d3d

Browse files
chore: switch from lychee to linkchecker (#747)
We can't trivially upgrade lychee due to changes in command-line arguments (#738). Rather than updating the config, this PR switches to linkchecker, which is better for Verso anyway due to supporting `<base>` tags. We should standardize on it more broadly.
1 parent 239522b commit 1e49d3d

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,12 @@ jobs:
127127
lake build Verso.Hover:literate
128128
lake exe verso-html .lake/build/literate htmlout
129129
130+
- name: Install linkchecker
131+
run: pip install linkchecker
132+
130133
- name: Check internal links on the test website
131-
uses: lycheeverse/lychee-action@v2.6.1
132-
with:
133-
format: markdown
134-
jobSummary: true
135-
args:
136-
--base './_out/test-projects/demosite' --no-progress --offline
137-
'./_out/test-projects/demosite/**/*.html'
134+
run: |
135+
linkchecker --config=.linkchecker/linkcheckerrc --no-status ./_out/test-projects/demosite/
138136
139137
- name: Generate the manual
140138
run: |

.linkchecker/linkcheckerrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[filtering]
2+
ignorewarnings=url-content-too-large,url-too-long

0 commit comments

Comments
 (0)