1
0
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:
Mike Linksvayer 2017-01-18 12:05:51 -08:00 committed by GitHub
commit 8a2dff3f74
3 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,9 @@ AllCops:
- _site/**/*
- vendor/**/*
Metrics/BlockLength:
Enabled: false
Metrics/LineLength:
Enabled: false

View File

@ -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

View File

@ -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: