We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6723bd9 commit 23d3cdaCopy full SHA for 23d3cda
1 file changed
.github/workflows/tests.yml
@@ -36,7 +36,16 @@ jobs:
36
- name: Build
37
run: uv run mkdocs build --clean --strict -v
38
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
+
48
- name: Check links
- uses: untitaker/hyperlink@0.1.44
49
+ uses: untitaker/hyperlink@0.2.0
50
with:
51
args: site/ --sources docs/
0 commit comments