Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24e265f

Browse files
authored
Fixing HTML Proofer
1 parent 9a6a937 commit 24e265f

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

‎script/html-proofer‎

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,10 @@ url_ignores = [
55
"http://comcast.com",
66
]
77

8-
HTMLProofer::Runner.new(
8+
HTMLProofer.check_directories(
99
["_site"],
10-
parallel: { in_threads: 4 },
11-
type: :directory,
12-
url_ignore: url_ignores,
13-
check_html: true,
14-
check_opengraph: true,
15-
check_img_http: true,
16-
favicon: true,
17-
assume_extension: true,
10+
ignore_empty_alt: true,
11+
ignore_status_codes: [429],
12+
ignore_urls: url_ignores,
1813
only_4xx: true,
19-
empty_alt_ignore: true,
20-
http_status_ignore: [429],
2114
).run

0 commit comments

Comments
 (0)