From 72823a97b69bef4e69cd9211c2925ac2c38ed8ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20Mari=C8=99?= Date: Fri, 12 Feb 2016 00:20:39 +0200 Subject: [PATCH] Use `https://` where possible --- .gitattributes | 9 +++++- README.md | 2 +- dist/doc/css.md | 2 +- dist/doc/extend.md | 48 +++++++++++++++--------------- dist/doc/faq.md | 4 +-- dist/doc/html.md | 4 +-- dist/doc/js.md | 2 +- scripts/travis/auto_update_dist.sh | 1 - src/doc/css.md | 2 +- src/doc/extend.md | 48 +++++++++++++++--------------- src/doc/faq.md | 4 +-- src/doc/html.md | 4 +-- src/doc/js.md | 2 +- 13 files changed, 69 insertions(+), 63 deletions(-) diff --git a/.gitattributes b/.gitattributes index 70d5e00f..e66e9297 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,11 +1,15 @@ # Automatically normalize line endings for all text-based files -# http://git-scm.com/docs/gitattributes#_end_of_line_conversion +# https://git-scm.com/docs/gitattributes#_end_of_line_conversion + * text=auto +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + # For the following file types, normalize line endings to LF on # checkin and prevent conversion to CRLF when they are checked out # (this is required in order to prevent newline related issues like, # for example, after the build script is run) + .* text eol=lf *.css text eol=lf *.html text eol=lf @@ -16,6 +20,9 @@ *.txt text eol=lf *.xml text eol=lf +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + # Exclude the `.htaccess` file from GitHub's language statistics # https://github.com/github/linguist#using-gitattributes + dist/.htaccess linguist-vendored diff --git a/README.md b/README.md index 06f0dcbd..374215ed 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Choose one of the following options: * [`Normalize.css`](https://necolas.github.com/normalize.css/) for CSS normalizations and common bug fixes * [`jQuery`](https://jquery.com/) via CDN, with a local fallback - * A custom build of [`Modernizr`](http://modernizr.com/) for feature + * A custom build of [`Modernizr`](https://modernizr.com/) for feature detection * [`Apache Server Configs`](https://github.com/h5bp/server-configs-apache) that, among other, improve the web site's performance and security diff --git a/dist/doc/css.md b/dist/doc/css.md index 58f63450..72362559 100644 --- a/dist/doc/css.md +++ b/dist/doc/css.md @@ -14,7 +14,7 @@ HTML5 Boilerplate's CSS includes: This starting CSS does not rely on the presence of [conditional class names](https://www.paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/), [conditional style sheets](https://css-tricks.com/how-to-create-an-ie-only-stylesheet/), -or [Modernizr](http://modernizr.com/), and it is ready to use no matter what +or [Modernizr](https://modernizr.com/), and it is ready to use no matter what your development preferences happen to be. diff --git a/dist/doc/extend.md b/dist/doc/extend.md index c375b05e..10789162 100644 --- a/dist/doc/extend.md +++ b/dist/doc/extend.md @@ -121,7 +121,7 @@ Microsoft Ajax Content Delivery Network: * https://developer.mozilla.org/en-US/docs/Controlling_DNS_prefetching * https://dev.chromium.org/developers/design-documents/dns-prefetching -* http://blogs.msdn.com/b/ie/archive/2011/03/17/internet-explorer-9-network-performance-improvements.aspx +* https://blogs.msdn.microsoft.com/ie/2011/03/17/internet-explorer-9-network-performance-improvements/ * http://dayofjs.com/videos/22158462/web-browsers_alex-russel @@ -248,7 +248,7 @@ values: You can find more information in [Microsoft's IEBlog post about prompting for plugin use in IE10 Metro -Mode](http://blogs.msdn.com/b/ie/archive/2012/01/31/web-sites-and-a-plug-in-free-web.aspx). +Mode](https://blogs.msdn.microsoft.com/ie/2012/01/31/web-sites-and-a-plug-in-free-web/). ### IE Pinned Sites (IE9+) @@ -322,7 +322,7 @@ need. Windows 8 adds the ability for you to provide a PNG tile image and specify the tile's background color. [Full details on the IE -blog](http://blogs.msdn.com/b/ie/archive/2012/06/08/high-quality-visuals-for-pinned-sites-in-windows-8.aspx). +blog](https://blogs.msdn.microsoft.com/ie/2012/06/08/high-quality-visuals-for-pinned-sites-in-windows-8/). * Create a 144x144 image of your site icon, filling all of the canvas, and using a transparent background. @@ -338,7 +338,7 @@ tile in the Start screen. The user will be able to receive these badge updates even when your app isn't actively running. The badge's value can be a number, or one of a predefined list of glyphs. -* [Tutorial on IEBlog with link to badge XML schema](http://blogs.msdn.com/b/ie/archive/2012/04/03/pinned-sites-in-windows-8.aspx) +* [Tutorial on IEBlog with link to badge XML schema](https://blogs.msdn.microsoft.com/ie/2012/04/03/pinned-sites-in-windows-8/) * [Available badge values](https://msdn.microsoft.com/en-us/library/ie/br212849.aspx) ```html @@ -347,7 +347,7 @@ or one of a predefined list of glyphs. ### Disable link highlighting upon tap in IE10 -Similar to [-webkit-tap-highlight-color](http://davidwalsh.name/mobile-highlight-color) +Similar to [-webkit-tap-highlight-color](https://davidwalsh.name/mobile-highlight-color) in iOS Safari. Unlike that CSS property, this is an HTML meta element, and its value is boolean rather than a color. It's all or nothing. @@ -471,16 +471,16 @@ Graph content templates](https://developers.facebook.com/docs/opengraph/objects/builtin/). Take full advantage of Facebook's support for complex data and activity by following the [Open Graph -tutorial](https://developers.facebook.com/docs/opengraph/tutorial/). +tutorial](https://developers.facebook.com/docs/opengraph/tutorial/). -For a reference of Open Graph's markup and properties, you may check -[Facebook's Open Graph Protocol reference](http://ogp.me/). Finally, -you can validate your markup with the [Facebook Object -Debugger](http://developers.facebook.com/tools/debug/) (needs +For a reference of Open Graph's markup and properties, you may check +[Facebook's Open Graph Protocol reference](http://ogp.me/). Finally, +you can validate your markup with the [Facebook Object +Debugger](https://developers.facebook.com/tools/debug/) (needs registration to Facebook). ```html - + @@ -498,7 +498,7 @@ that, as of this writing, Twitter requires that app developers activate Cards on a per-domain basis. You can read more about the various snippet formats and application process in the [official Twitter Cards documentation](https://dev.twitter.com/docs/cards), and you can validate -your markup with the [Card validator](https://cards-dev.twitter.com/validator) +your markup with the [Card validator](https://cards-dev.twitter.com/validator) (needs registration to Twitter). ```html @@ -513,18 +513,18 @@ your markup with the [Card validator](https://cards-dev.twitter.com/validator) ### Google+ / Schema.org -Google also provides a snippet specification that serves a similar -purpose to Facebook's Open Graph or Twitter Cards. While it helps you -to control information displayed on Google+, this metadata is a subset -of [schema.org's microdata vocabulary](https://schema.org/), which -covers many other schemas that can describe the content of your pages -to search engines. For this reason, this metadata is more generic for -SEO, notably for Google's search-engine, although this vocabulary is -also used by Microsoft, Pinterest or Yandex. +Google also provides a snippet specification that serves a similar +purpose to Facebook's Open Graph or Twitter Cards. While it helps you +to control information displayed on Google+, this metadata is a subset +of [schema.org's microdata vocabulary](https://schema.org/), which +covers many other schemas that can describe the content of your pages +to search engines. For this reason, this metadata is more generic for +SEO, notably for Google's search-engine, although this vocabulary is +also used by Microsoft, Pinterest or Yandex. -You can validate your markup with the [Structured Data Testing -Tool](https://developers.google.com/structured-data/testing-tool/). -Also, please note that this markup requires to add attributes to your +You can validate your markup with the [Structured Data Testing +Tool](https://developers.google.com/structured-data/testing-tool/). +Also, please note that this markup requires to add attributes to your top `html` tag. ```html @@ -698,5 +698,5 @@ their UIs with varying colors. The `content` attribute extension can take any valid CSS color. Currently, the `theme-color` meta extension is supported by [Chrome 39+ -for Android Lollipop](http://updates.html5rocks.com/2014/11/Support-for-theme-color-in-Chrome-39-for-Android) +for Android Lollipop](https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android) and [Firefox OS 2.1+](https://twitter.com/ahmednefzaoui/status/492344698493997057). diff --git a/dist/doc/faq.md b/dist/doc/faq.md index 4a93ca59..e73f9cf7 100644 --- a/dist/doc/faq.md +++ b/dist/doc/faq.md @@ -23,11 +23,11 @@ However, having the code at the bottom of the page [helps improve performance](https://stevesouders.com/efws/inline-scripts-bottom.php). -### How can I integrate [Bootstrap](http://getbootstrap.com/) with HTML5 Boilerplate? +### How can I integrate [Bootstrap](https://getbootstrap.com/) with HTML5 Boilerplate? One simple way is to use [Initializr](http://www.initializr.com/) and create a custom build that includes both HTML5 Boilerplate and -[Bootstrap](http://getbootstrap.com/). +[Bootstrap](https://getbootstrap.com/). Read more about how [HTML5 Boilerplate and Bootstrap complement each other](https://www.quora.com/Is-Bootstrap-a-complement-or-an-alternative-to-HTML5-Boilerplate-or-viceversa/answer/Nicolas-Gallagher). diff --git a/dist/doc/html.md b/dist/doc/html.md index 65a4a20f..14603eef 100644 --- a/dist/doc/html.md +++ b/dist/doc/html.md @@ -95,7 +95,7 @@ Starting with Internet Explorer 11, [document modes are deprecated](https://msdn.microsoft.com/en-us/library/ie/bg182625.aspx#docmode). If your business still relies on older web apps and services that were designed for older versions of Internet Explorer, you might want to consider -enabling [Enterprise Mode](http://blogs.msdn.com/b/ie/archive/2014/04/02/stay-up-to-date-with-enterprise-mode-for-internet-explorer-11.aspx) throughout your company. +enabling [Enterprise Mode](https://blogs.msdn.microsoft.com/ie/2014/04/02/stay-up-to-date-with-enterprise-mode-for-internet-explorer-11/) throughout your company. ## Mobile viewport @@ -123,7 +123,7 @@ of these docs. HTML5 Boilerplate uses a custom build of Modernizr. -[Modernizr](http://modernizr.com) is a JavaScript library which adds classes to +[Modernizr](https://modernizr.com) is a JavaScript library which adds classes to the `html` element based on the results of feature test and which ensures that all browsers can make use of HTML5 elements (as it includes the HTML5 Shiv). This allows you to target parts of your CSS and JavaScript based on the diff --git a/dist/doc/js.md b/dist/doc/js.md index 1c30b554..87e22245 100644 --- a/dist/doc/js.md +++ b/dist/doc/js.md @@ -34,4 +34,4 @@ This directory can be used to contain all 3rd party library code. Minified versions of the latest jQuery and Modernizr libraries are included by default. You may wish to create your own [custom Modernizr -build](http://www.modernizr.com/download/). +build](https://www.modernizr.com/download/). diff --git a/scripts/travis/auto_update_dist.sh b/scripts/travis/auto_update_dist.sh index 6bc3813e..a396fe67 100755 --- a/scripts/travis/auto_update_dist.sh +++ b/scripts/travis/auto_update_dist.sh @@ -28,4 +28,3 @@ $(npm bin)/travis-after-all && \ $(npm bin)/commit-changes --branch "master" \ --commands "npm run build" \ --commit-message "Update content from the \`dist\` directory [skip ci]" - diff --git a/src/doc/css.md b/src/doc/css.md index 58f63450..72362559 100644 --- a/src/doc/css.md +++ b/src/doc/css.md @@ -14,7 +14,7 @@ HTML5 Boilerplate's CSS includes: This starting CSS does not rely on the presence of [conditional class names](https://www.paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/), [conditional style sheets](https://css-tricks.com/how-to-create-an-ie-only-stylesheet/), -or [Modernizr](http://modernizr.com/), and it is ready to use no matter what +or [Modernizr](https://modernizr.com/), and it is ready to use no matter what your development preferences happen to be. diff --git a/src/doc/extend.md b/src/doc/extend.md index c375b05e..10789162 100644 --- a/src/doc/extend.md +++ b/src/doc/extend.md @@ -121,7 +121,7 @@ Microsoft Ajax Content Delivery Network: * https://developer.mozilla.org/en-US/docs/Controlling_DNS_prefetching * https://dev.chromium.org/developers/design-documents/dns-prefetching -* http://blogs.msdn.com/b/ie/archive/2011/03/17/internet-explorer-9-network-performance-improvements.aspx +* https://blogs.msdn.microsoft.com/ie/2011/03/17/internet-explorer-9-network-performance-improvements/ * http://dayofjs.com/videos/22158462/web-browsers_alex-russel @@ -248,7 +248,7 @@ values: You can find more information in [Microsoft's IEBlog post about prompting for plugin use in IE10 Metro -Mode](http://blogs.msdn.com/b/ie/archive/2012/01/31/web-sites-and-a-plug-in-free-web.aspx). +Mode](https://blogs.msdn.microsoft.com/ie/2012/01/31/web-sites-and-a-plug-in-free-web/). ### IE Pinned Sites (IE9+) @@ -322,7 +322,7 @@ need. Windows 8 adds the ability for you to provide a PNG tile image and specify the tile's background color. [Full details on the IE -blog](http://blogs.msdn.com/b/ie/archive/2012/06/08/high-quality-visuals-for-pinned-sites-in-windows-8.aspx). +blog](https://blogs.msdn.microsoft.com/ie/2012/06/08/high-quality-visuals-for-pinned-sites-in-windows-8/). * Create a 144x144 image of your site icon, filling all of the canvas, and using a transparent background. @@ -338,7 +338,7 @@ tile in the Start screen. The user will be able to receive these badge updates even when your app isn't actively running. The badge's value can be a number, or one of a predefined list of glyphs. -* [Tutorial on IEBlog with link to badge XML schema](http://blogs.msdn.com/b/ie/archive/2012/04/03/pinned-sites-in-windows-8.aspx) +* [Tutorial on IEBlog with link to badge XML schema](https://blogs.msdn.microsoft.com/ie/2012/04/03/pinned-sites-in-windows-8/) * [Available badge values](https://msdn.microsoft.com/en-us/library/ie/br212849.aspx) ```html @@ -347,7 +347,7 @@ or one of a predefined list of glyphs. ### Disable link highlighting upon tap in IE10 -Similar to [-webkit-tap-highlight-color](http://davidwalsh.name/mobile-highlight-color) +Similar to [-webkit-tap-highlight-color](https://davidwalsh.name/mobile-highlight-color) in iOS Safari. Unlike that CSS property, this is an HTML meta element, and its value is boolean rather than a color. It's all or nothing. @@ -471,16 +471,16 @@ Graph content templates](https://developers.facebook.com/docs/opengraph/objects/builtin/). Take full advantage of Facebook's support for complex data and activity by following the [Open Graph -tutorial](https://developers.facebook.com/docs/opengraph/tutorial/). +tutorial](https://developers.facebook.com/docs/opengraph/tutorial/). -For a reference of Open Graph's markup and properties, you may check -[Facebook's Open Graph Protocol reference](http://ogp.me/). Finally, -you can validate your markup with the [Facebook Object -Debugger](http://developers.facebook.com/tools/debug/) (needs +For a reference of Open Graph's markup and properties, you may check +[Facebook's Open Graph Protocol reference](http://ogp.me/). Finally, +you can validate your markup with the [Facebook Object +Debugger](https://developers.facebook.com/tools/debug/) (needs registration to Facebook). ```html - + @@ -498,7 +498,7 @@ that, as of this writing, Twitter requires that app developers activate Cards on a per-domain basis. You can read more about the various snippet formats and application process in the [official Twitter Cards documentation](https://dev.twitter.com/docs/cards), and you can validate -your markup with the [Card validator](https://cards-dev.twitter.com/validator) +your markup with the [Card validator](https://cards-dev.twitter.com/validator) (needs registration to Twitter). ```html @@ -513,18 +513,18 @@ your markup with the [Card validator](https://cards-dev.twitter.com/validator) ### Google+ / Schema.org -Google also provides a snippet specification that serves a similar -purpose to Facebook's Open Graph or Twitter Cards. While it helps you -to control information displayed on Google+, this metadata is a subset -of [schema.org's microdata vocabulary](https://schema.org/), which -covers many other schemas that can describe the content of your pages -to search engines. For this reason, this metadata is more generic for -SEO, notably for Google's search-engine, although this vocabulary is -also used by Microsoft, Pinterest or Yandex. +Google also provides a snippet specification that serves a similar +purpose to Facebook's Open Graph or Twitter Cards. While it helps you +to control information displayed on Google+, this metadata is a subset +of [schema.org's microdata vocabulary](https://schema.org/), which +covers many other schemas that can describe the content of your pages +to search engines. For this reason, this metadata is more generic for +SEO, notably for Google's search-engine, although this vocabulary is +also used by Microsoft, Pinterest or Yandex. -You can validate your markup with the [Structured Data Testing -Tool](https://developers.google.com/structured-data/testing-tool/). -Also, please note that this markup requires to add attributes to your +You can validate your markup with the [Structured Data Testing +Tool](https://developers.google.com/structured-data/testing-tool/). +Also, please note that this markup requires to add attributes to your top `html` tag. ```html @@ -698,5 +698,5 @@ their UIs with varying colors. The `content` attribute extension can take any valid CSS color. Currently, the `theme-color` meta extension is supported by [Chrome 39+ -for Android Lollipop](http://updates.html5rocks.com/2014/11/Support-for-theme-color-in-Chrome-39-for-Android) +for Android Lollipop](https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android) and [Firefox OS 2.1+](https://twitter.com/ahmednefzaoui/status/492344698493997057). diff --git a/src/doc/faq.md b/src/doc/faq.md index 4a93ca59..e73f9cf7 100644 --- a/src/doc/faq.md +++ b/src/doc/faq.md @@ -23,11 +23,11 @@ However, having the code at the bottom of the page [helps improve performance](https://stevesouders.com/efws/inline-scripts-bottom.php). -### How can I integrate [Bootstrap](http://getbootstrap.com/) with HTML5 Boilerplate? +### How can I integrate [Bootstrap](https://getbootstrap.com/) with HTML5 Boilerplate? One simple way is to use [Initializr](http://www.initializr.com/) and create a custom build that includes both HTML5 Boilerplate and -[Bootstrap](http://getbootstrap.com/). +[Bootstrap](https://getbootstrap.com/). Read more about how [HTML5 Boilerplate and Bootstrap complement each other](https://www.quora.com/Is-Bootstrap-a-complement-or-an-alternative-to-HTML5-Boilerplate-or-viceversa/answer/Nicolas-Gallagher). diff --git a/src/doc/html.md b/src/doc/html.md index 65a4a20f..14603eef 100644 --- a/src/doc/html.md +++ b/src/doc/html.md @@ -95,7 +95,7 @@ Starting with Internet Explorer 11, [document modes are deprecated](https://msdn.microsoft.com/en-us/library/ie/bg182625.aspx#docmode). If your business still relies on older web apps and services that were designed for older versions of Internet Explorer, you might want to consider -enabling [Enterprise Mode](http://blogs.msdn.com/b/ie/archive/2014/04/02/stay-up-to-date-with-enterprise-mode-for-internet-explorer-11.aspx) throughout your company. +enabling [Enterprise Mode](https://blogs.msdn.microsoft.com/ie/2014/04/02/stay-up-to-date-with-enterprise-mode-for-internet-explorer-11/) throughout your company. ## Mobile viewport @@ -123,7 +123,7 @@ of these docs. HTML5 Boilerplate uses a custom build of Modernizr. -[Modernizr](http://modernizr.com) is a JavaScript library which adds classes to +[Modernizr](https://modernizr.com) is a JavaScript library which adds classes to the `html` element based on the results of feature test and which ensures that all browsers can make use of HTML5 elements (as it includes the HTML5 Shiv). This allows you to target parts of your CSS and JavaScript based on the diff --git a/src/doc/js.md b/src/doc/js.md index 1c30b554..87e22245 100644 --- a/src/doc/js.md +++ b/src/doc/js.md @@ -34,4 +34,4 @@ This directory can be used to contain all 3rd party library code. Minified versions of the latest jQuery and Modernizr libraries are included by default. You may wish to create your own [custom Modernizr -build](http://www.modernizr.com/download/). +build](https://www.modernizr.com/download/).