Skip to content

Commit 6d20d6b

Browse files
committed
Faster link checker using ruby-link-checker.
Signed-off-by: dblock <[email protected]>
1 parent c139c36 commit 6d20d6b

12 files changed

+146
-233
lines changed

.github/workflows/link-checker.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Check Links
22

33
on:
44
push:
5-
branches:
6-
- main
5+
# branches:
6+
# - main
77

88
jobs:
99
check:

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ end
3333
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
3434

3535
gem "rouge"
36+
gem "typhoeus"
37+
gem "ruby-link-checker"

Gemfile.lock

+28-20
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
addressable (2.8.0)
5-
public_suffix (>= 2.0.2, < 5.0)
4+
addressable (2.8.2)
5+
public_suffix (>= 2.0.2, < 6.0)
66
colorator (1.1.0)
7-
concurrent-ruby (1.1.8)
8-
em-websocket (0.5.2)
7+
concurrent-ruby (1.2.2)
8+
em-websocket (0.5.3)
99
eventmachine (>= 0.12.9)
10-
http_parser.rb (~> 0.6.0)
10+
http_parser.rb (~> 0)
11+
ethon (0.16.0)
12+
ffi (>= 1.15.0)
1113
eventmachine (1.2.7)
12-
ffi (1.14.2)
14+
ffi (1.15.5)
1315
forwardable-extended (2.6.0)
14-
http_parser.rb (0.6.0)
15-
i18n (1.8.9)
16+
http_parser.rb (0.8.0)
17+
i18n (1.12.0)
1618
concurrent-ruby (~> 1.0)
17-
jekyll (4.2.0)
19+
jekyll (4.2.2)
1820
addressable (~> 2.4)
1921
colorator (~> 1.0)
2022
em-websocket (~> 0.5)
@@ -29,28 +31,28 @@ GEM
2931
rouge (~> 3.0)
3032
safe_yaml (~> 1.0)
3133
terminal-table (~> 2.0)
32-
jekyll-feed (0.15.1)
34+
jekyll-feed (0.17.0)
3335
jekyll (>= 3.7, < 5.0)
3436
jekyll-last-modified-at (1.3.0)
3537
jekyll (>= 3.7, < 5.0)
3638
posix-spawn (~> 0.3.9)
3739
jekyll-paginate (1.1.0)
3840
jekyll-redirect-from (0.16.0)
3941
jekyll (>= 3.3, < 5.0)
40-
jekyll-sass-converter (2.1.0)
42+
jekyll-sass-converter (2.2.0)
4143
sassc (> 2.0.1, < 3.0)
42-
jekyll-seo-tag (2.7.1)
44+
jekyll-seo-tag (2.8.0)
4345
jekyll (>= 3.8, < 5.0)
4446
jekyll-sitemap (1.4.0)
4547
jekyll (>= 3.7, < 5.0)
4648
jekyll-watch (2.2.1)
4749
listen (~> 3.0)
48-
kramdown (2.3.1)
50+
kramdown (2.4.0)
4951
rexml
5052
kramdown-parser-gfm (1.1.0)
5153
kramdown (~> 2.0)
52-
liquid (4.0.3)
53-
listen (3.4.1)
54+
liquid (4.0.4)
55+
listen (3.8.0)
5456
rb-fsevent (~> 0.10, >= 0.10.3)
5557
rb-inotify (~> 0.9, >= 0.9.10)
5658
mercenary (0.4.0)
@@ -61,23 +63,27 @@ GEM
6163
pathutil (0.16.2)
6264
forwardable-extended (~> 2.6)
6365
posix-spawn (0.3.15)
64-
public_suffix (4.0.6)
65-
rb-fsevent (0.10.4)
66+
public_suffix (5.0.1)
67+
rb-fsevent (0.11.2)
6668
rb-inotify (0.10.1)
6769
ffi (~> 1.0)
6870
rexml (3.2.5)
69-
rouge (3.26.0)
71+
rouge (3.30.0)
72+
ruby-link-checker (0.1.0)
7073
safe_yaml (1.0.5)
7174
sassc (2.4.0)
7275
ffi (~> 1.9)
7376
terminal-table (2.0.0)
7477
unicode-display_width (~> 1.1, >= 1.1.1)
75-
unicode-display_width (1.7.0)
78+
typhoeus (1.4.0)
79+
ethon (>= 0.9.0)
80+
unicode-display_width (1.8.0)
7681

7782
PLATFORMS
7883
ruby
7984
x86_64-darwin-19
8085
x86_64-linux
86+
arm64-darwin-21
8187

8288
DEPENDENCIES
8389
jekyll (~> 4.2.0)
@@ -88,9 +94,11 @@ DEPENDENCIES
8894
jekyll-sitemap
8995
minima (~> 2.5)
9096
rouge
97+
ruby-link-checker
98+
typhoeus
9199
tzinfo (~> 1.2)
92100
tzinfo-data
93101
wdm (~> 0.1.1)
94102

95103
BUNDLED WITH
96-
2.3.5
104+
2.4.2

_community_projects/opensearch-plugin-template-java.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ owner: Amitai Stern
55
owner_link: https://github.com/AmiStrn
66
link: https://github.com/AmiStrn/opensearch-plugin-template-java
77
license: Apache License 2.0
8-
license_link: https://github.com/AmiStrn/opensearch-plugin-template-java/blob/main/LICENSE
8+
license_link: https://github.com/opensearch-project/opensearch-plugin-template-java/blob/main/LICENSE.txt
99
---

0 commit comments

Comments
 (0)