File tree 4 files changed +53
-38
lines changed
4 files changed +53
-38
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ gem "rouge"
6
6
7
7
group :development do
8
8
gem "minitest"
9
- gem "spidr" , "~> 0.6 "
9
+ gem "html-proofer "
10
10
gem "validate-website" , "~> 1.6"
11
11
end
Original file line number Diff line number Diff line change 1
1
GEM
2
2
remote: https://rubygems.org/
3
3
specs:
4
+ Ascii85 (1.1.0 )
4
5
addressable (2.8.4 )
5
6
public_suffix (>= 2.0.2 , < 6.0 )
7
+ afm (0.2.2 )
8
+ async (2.5.0 )
9
+ console (~> 1.10 )
10
+ io-event (~> 1.1 )
11
+ timers (~> 4.1 )
6
12
colorator (1.1.0 )
7
13
concurrent-ruby (1.2.2 )
14
+ console (1.16.2 )
15
+ fiber-local
8
16
crass (1.0.6 )
9
17
em-websocket (0.5.3 )
10
18
eventmachine (>= 0.12.9 )
11
19
http_parser.rb (~> 0 )
20
+ ethon (0.16.0 )
21
+ ffi (>= 1.15.0 )
12
22
eventmachine (1.2.7 )
13
23
ffi (1.15.5 )
24
+ fiber-local (1.0.0 )
14
25
forwardable-extended (2.6.0 )
15
26
google-protobuf (3.22.3 )
16
27
google-protobuf (3.22.3-arm64-darwin )
17
28
google-protobuf (3.22.3-x86_64-linux )
29
+ hashery (2.1.2 )
30
+ html-proofer (5.0.7 )
31
+ addressable (~> 2.3 )
32
+ async (~> 2.1 )
33
+ nokogiri (~> 1.13 )
34
+ pdf-reader (~> 2.11 )
35
+ rainbow (~> 3.0 )
36
+ typhoeus (~> 1.3 )
37
+ yell (~> 2.0 )
38
+ zeitwerk (~> 2.5 )
18
39
http_parser.rb (0.8.0 )
19
40
i18n (1.12.0 )
20
41
concurrent-ruby (~> 1.0 )
42
+ io-event (1.1.7 )
21
43
jekyll (4.3.2 )
22
44
addressable (~> 2.4 )
23
45
colorator (~> 1.0 )
60
82
paint (2.3.0 )
61
83
pathutil (0.16.2 )
62
84
forwardable-extended (~> 2.6 )
85
+ pdf-reader (2.11.0 )
86
+ Ascii85 (~> 1.0 )
87
+ afm (~> 0.2.1 )
88
+ hashery (~> 2.0 )
89
+ ruby-rc4
90
+ ttfunk
63
91
public_suffix (5.0.1 )
64
92
racc (1.6.2 )
93
+ rainbow (3.1.1 )
65
94
rake (13.0.6 )
66
95
rb-fsevent (0.11.2 )
67
96
rb-inotify (0.10.1 )
68
97
ffi (~> 1.0 )
69
98
rexml (3.2.5 )
70
99
rouge (4.1.0 )
100
+ ruby-rc4 (0.1.5 )
71
101
safe_yaml (1.0.5 )
72
102
sass-embedded (1.62.0 )
73
103
google-protobuf (~> 3.21 )
83
113
unicode-display_width (>= 1.1.1 , < 3 )
84
114
tidy_ffi (1.0.1 )
85
115
ffi (~> 1.2 )
116
+ timers (4.3.5 )
117
+ ttfunk (1.7.0 )
118
+ typhoeus (1.4.0 )
119
+ ethon (>= 0.9.0 )
86
120
unicode-display_width (2.4.2 )
87
121
validate-website (1.12.0 )
88
122
crass (~> 1 )
98
132
nokogiri (~> 1.6 )
99
133
rexml (~> 3.2 )
100
134
webrick (1.8.1 )
135
+ yell (2.2.2 )
136
+ zeitwerk (2.6.7 )
101
137
102
138
PLATFORMS
103
139
arm64-darwin-22
104
140
ruby
105
141
x86_64-linux
106
142
107
143
DEPENDENCIES
144
+ html-proofer
108
145
jekyll
109
146
minitest
110
147
rake
111
148
rouge
112
- spidr (~> 0.6 )
113
149
validate-website (~> 1.6 )
114
150
115
151
BUNDLED WITH
Original file line number Diff line number Diff line change 89
89
90
90
namespace :check do
91
91
92
- localport = 9292
93
-
94
- desc "Check for broken internal links on http://localhost:#{ localport } /"
92
+ desc "Check for broken internal links"
95
93
task :links do
96
- require_relative "lib/link_checker"
97
- LinkChecker . new . check ( localport : localport , languages : LANGUAGES )
94
+ require "html-proofer"
95
+ options = {
96
+ checks : [
97
+ 'Links' ,
98
+ 'Images' ,
99
+ 'Scripts' ,
100
+ ] ,
101
+ ignore_empty_alt : true ,
102
+ ignore_missing_alt : true ,
103
+ check_external_hash : false ,
104
+ check_internal_hash : false ,
105
+ }
106
+
107
+ HTMLProofer . check_directory ( '_site' , options ) . run
98
108
end
99
109
100
110
desc "Validate _site markup with validate-website"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments