Skip to content

Commit e0f225d

Browse files
authored
Merge pull request #50 from rubykr/revive-validator
Revive validator
2 parents bb28ae8 + 5e86ef9 commit e0f225d

File tree

6 files changed

+26
-13
lines changed

6 files changed

+26
-13
lines changed

.github/workflows/build-test.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,20 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 1
1416
- name: Set up Ruby
1517
uses: ruby/setup-ruby@v1
1618
with:
1719
ruby-version: 3.0.0
20+
bundler-cache: true
1821
- name: Install dependencies
19-
run: bundle install --jobs 4 --retry 3
22+
run: |
23+
sudo apt-get install libtidy-dev
24+
bundle install --jobs 4 --retry 3
2025
- name: Test
2126
run: bundle exec rake test
2227
- name: Gen page
2328
run: bundle exec rake build
29+
- name: Validate
30+
run: bundle exec rake validate_markup

.github/workflows/deploy.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,17 @@ jobs:
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 1
1416
- name: Set up Ruby
1517
uses: ruby/setup-ruby@v1
1618
with:
1719
ruby-version: 3.0.0
20+
bundler-cache: true
1821
- name: Install dependencies
19-
run: bundle install --jobs 4 --retry 3
22+
run: |
23+
sudo apt-get install libtidy-dev
24+
bundle install --jobs 4 --retry 3
2025
- name: Test
2126
run: bundle exec rake test
2227
- name: Gen page

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ gem 'travis'
88
gem 'webrick'
99

1010
group :development do
11-
gem 'validate-website', '~> 1.0'
11+
gem 'validate-website', '~> 1.11'
1212
gem 'rspec', '~> 3.0'
1313
end

Gemfile.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ GEM
231231
multipart-post (2.1.1)
232232
net-http-persistent (2.9.4)
233233
net-http-pipeline (1.0.1)
234-
nokogiri (1.11.0)
234+
nokogiri (1.11.1)
235235
mini_portile2 (~> 2.5.0)
236236
racc (~> 1.4)
237237
octokit (4.20.0)
@@ -303,13 +303,14 @@ GEM
303303
unf_ext
304304
unf_ext (0.0.7.7)
305305
unicode-display_width (1.7.0)
306-
validate-website (1.10.0)
306+
validate-website (1.11.0)
307307
crass (~> 1)
308308
paint (~> 2)
309309
slop (~> 4.6)
310310
spidr (~> 0.6)
311311
tidy_ffi (~> 1.0)
312312
w3c_validators (~> 1.3)
313+
webrick (~> 1)
313314
w3c_validators (1.3.6)
314315
json (>= 1.8)
315316
nokogiri (~> 1.6)
@@ -326,7 +327,7 @@ DEPENDENCIES
326327
rake
327328
rspec (~> 3.0)
328329
travis
329-
validate-website (~> 1.0)
330+
validate-website (~> 1.11)
330331
webrick
331332

332333
RUBY VERSION

_layouts/default.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="ko">
33
<head>
44
<meta charset='utf-8' />
5-
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
66
<meta name="description" content="Ruby 한국어 문서 : " />
77
<meta name="viewport" content="width=device-width">
88
<link rel="alternate" type="application/atom+xml" title="{{ page.title }}" href="https://rubykr.github.io/feed.xml" />
@@ -40,7 +40,7 @@ <h2 id="project_tagline">
4040
<h2>Comments</h2>
4141

4242
<div id="disqus_thread"></div>
43-
<script type="text/javascript">
43+
<script>
4444
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
4545
var disqus_shortname = 'rubykr'; // required: replace example with your forum shortname
4646

@@ -63,6 +63,6 @@ <h2>Comments</h2>
6363
<p>Published with <a href="http://svperstarz.github.io/jekyll-docs-ko/">Jekyll</a></p>
6464
</footer>
6565
</div>
66-
<script src="javascripts/main.js" type="text/javascript"></script>
66+
<script src="javascripts/main.js"></script>
6767
</body>
6868
</html>

index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,6 @@ title: 루비 프로그래밍 언어 한국어 문서
156156

157157
## Links
158158

159-
- <a href="https://github.com/rubykr"><img src="https://img.shields.io/badge/%EB%A3%A8%EB%B9%84%EC%BD%94%EB%A6%AC%EC%95%84%20%EB%8B%A8%EC%B2%B4-010101?style=flat&logo=github&logoColor=white"/></a>
160-
- <a href="https://www.facebook.com/groups/rubykr"><img src="https://img.shields.io/badge/%EB%A3%A8%EB%B9%84%EC%BD%94%EB%A6%AC%EC%95%84%20%EA%B7%B8%EB%A3%B9-4267B2?style=flat&logo=facebook&logoColor=white"/></a>
161-
- <a href="https://discord.gg/uHQj7X68Mf"><img src="https://img.shields.io/badge/%EB%A3%A8%EB%B9%84%EC%BD%94%EB%A6%AC%EC%95%84%20%EC%82%AC%EC%9A%A9%EC%9E%90%EB%AA%A8%EC%9E%84-7289DA?style=flat&logo=discord&logoColor=white"/></a>
159+
- <a href="https://github.com/rubykr"><img src="https://img.shields.io/badge/%EB%A3%A8%EB%B9%84%EC%BD%94%EB%A6%AC%EC%95%84%20%EB%8B%A8%EC%B2%B4-010101?style=flat&logo=github&logoColor=white" alt=""/></a>
160+
- <a href="https://www.facebook.com/groups/rubykr"><img src="https://img.shields.io/badge/%EB%A3%A8%EB%B9%84%EC%BD%94%EB%A6%AC%EC%95%84%20%EA%B7%B8%EB%A3%B9-4267B2?style=flat&logo=facebook&logoColor=white" alt=""/></a>
161+
- <a href="https://discord.gg/uHQj7X68Mf"><img src="https://img.shields.io/badge/%EB%A3%A8%EB%B9%84%EC%BD%94%EB%A6%AC%EC%95%84%20%EC%82%AC%EC%9A%A9%EC%9E%90%EB%AA%A8%EC%9E%84-7289DA?style=flat&logo=discord&logoColor=white" alt=""/></a>

0 commit comments

Comments
 (0)