Skip to content

Commit c80f145

Browse files
committed
Allow <a> without href attribute in link check
We have just one link without the `href` attribute, which is a button in the Swift Evolutions browser. We know it's valid, and the case where `<a>` tags won't have `href`s is rare, so we can safely ignore them in the check.
1 parent ebeb0c1 commit c80f145

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/check_links.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ bundle exec jekyll build --source /srv/jekyll --destination /output
88
# This line runs broken link checks: https://github.com/gjtorikian/html-proofer
99
bundle exec htmlproofer \
1010
--ignore-status-codes "429" \
11+
--allow-empty-href \
1112
--only-4xx \
1213
--no-enforce-https \
1314
--no-check-external-hash \

0 commit comments

Comments
 (0)