mirror of
https://github.com/github/choosealicense.com
synced 2024-11-05 19:28:50 +01:00
Merge pull request #476 from github/http-img-check
Check images for consistent use of http/https
This commit is contained in:
commit
8a2dff3f74
@ -4,6 +4,9 @@ AllCops:
|
||||
- _site/**/*
|
||||
- vendor/**/*
|
||||
|
||||
Metrics/BlockLength:
|
||||
Enabled: false
|
||||
|
||||
Metrics/LineLength:
|
||||
Enabled: false
|
||||
|
||||
|
3
Rakefile
3
Rakefile
@ -13,7 +13,8 @@ task :test do
|
||||
HTMLProofer.check_directory('./_site',
|
||||
check_html: true,
|
||||
validation: { ignore_script_embeds: true },
|
||||
url_swap: { %r{http://choosealicense.com} => '' }).run
|
||||
url_swap: { %r{https://choosealicense.com} => '' },
|
||||
check_img_http: true).run
|
||||
end
|
||||
|
||||
task :approved_licenses do
|
||||
|
@ -3,7 +3,7 @@ title: Choose a License
|
||||
description: Non-judgmental guidance on choosing a license for your open source project
|
||||
relative_permalinks: false
|
||||
markdown: kramdown
|
||||
url: "http://choosealicense.com"
|
||||
url: "https://choosealicense.com"
|
||||
|
||||
collections:
|
||||
licenses:
|
||||
|
Loading…
Reference in New Issue
Block a user