mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +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/**/*
|
- _site/**/*
|
||||||
- vendor/**/*
|
- vendor/**/*
|
||||||
|
|
||||||
|
Metrics/BlockLength:
|
||||||
|
Enabled: false
|
||||||
|
|
||||||
Metrics/LineLength:
|
Metrics/LineLength:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
3
Rakefile
3
Rakefile
@ -13,7 +13,8 @@ task :test do
|
|||||||
HTMLProofer.check_directory('./_site',
|
HTMLProofer.check_directory('./_site',
|
||||||
check_html: true,
|
check_html: true,
|
||||||
validation: { ignore_script_embeds: 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
|
end
|
||||||
|
|
||||||
task :approved_licenses do
|
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
|
description: Non-judgmental guidance on choosing a license for your open source project
|
||||||
relative_permalinks: false
|
relative_permalinks: false
|
||||||
markdown: kramdown
|
markdown: kramdown
|
||||||
url: "http://choosealicense.com"
|
url: "https://choosealicense.com"
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
licenses:
|
licenses:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user