Skip to content

Commit 23d3cda

Browse files
palkerecsenyikpsherva
authored andcommitted
ci: remove erroneous file
1 parent 6723bd9 commit 23d3cda

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,16 @@ jobs:
3636
- name: Build
3737
run: uv run mkdocs build --clean --strict -v
3838

39+
# Mkdocs generates a 404 file with absolute links to /docs/..., which is of course
40+
# needed as it doesn't know which path the 404 page will be rendered for.
41+
# However, `hyperlink` doesn't understand this absolute path so will always fail
42+
# the link check for it.
43+
# `hyperlink` doesn't yet have an option to ignore files, so we will remove it
44+
# manually here.
45+
- name: Remove 404 file
46+
run: rm site/404.html
47+
3948
- name: Check links
40-
uses: untitaker/hyperlink@0.1.44
49+
uses: untitaker/hyperlink@0.2.0
4150
with:
4251
args: site/ --sources docs/

0 commit comments

Comments
 (0)