Skip to content

Commit ebeb0c1

Browse files
committed
Ignore link check to /404.html
The 404.html page renders with HTTP404 code, but that's valid. Hence, we should ignore that page in `check_links.sh`
1 parent e23cf00 commit ebeb0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_links.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ bundle exec htmlproofer \
1111
--only-4xx \
1212
--no-enforce-https \
1313
--no-check-external-hash \
14-
--ignore-urls "/twitter.com/,/github.com/" \
14+
--ignore-urls "/twitter.com/,/github.com/,/swift.org/404.html/" \
1515
/output

0 commit comments

Comments
 (0)