From 31c872191380d4cd32af379b9d24359d6a9dc34c Mon Sep 17 00:00:00 2001
From: XhmikosR
Date: Tue, 26 Sep 2017 15:24:14 +0300
Subject: [PATCH] Normalize all links. (#24109)
* use a trailing slash when possible
* use https when possible
* remove a few redirected links
* consistently use `https://popper.js.org/`
* fix `iconUrl` in nuget files
* change Jekyll Windows guide to the official one
---
.github/CONTRIBUTING.md | 4 +--
.github/ISSUE_TEMPLATE.md | 4 +--
README.md | 26 ++++++++++----------
_config.yml | 8 +++---
_data/browser-features.yml | 6 ++---
_data/showcase.yml | 2 +-
_includes/docs-navbar.html | 2 +-
docs/4.0/components/card.md | 2 +-
docs/4.0/components/dropdowns.md | 2 +-
docs/4.0/components/forms.md | 2 +-
docs/4.0/components/navbar.md | 2 +-
docs/4.0/components/popovers.md | 2 +-
docs/4.0/components/tooltips.md | 2 +-
docs/4.0/content/reboot.md | 2 +-
docs/4.0/examples/blog/index.html | 2 +-
docs/4.0/examples/cover/index.html | 2 +-
docs/4.0/getting-started/browsers-devices.md | 4 +--
docs/4.0/getting-started/build-tools.md | 2 +-
docs/4.0/getting-started/download.md | 4 +--
docs/4.0/getting-started/introduction.md | 2 +-
docs/4.0/getting-started/javascript.md | 2 +-
docs/4.0/migration.md | 2 +-
js/tests/unit/popover.js | 2 +-
js/tests/visual/carousel.html | 6 ++---
nuget/bootstrap.nuspec | 6 ++---
nuget/bootstrap.sass.nuspec | 6 ++---
scss/_reboot.scss | 2 +-
scss/mixins/_image.scss | 2 +-
scss/mixins/_screen-reader.scss | 4 +--
29 files changed, 57 insertions(+), 57 deletions(-)
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 523282f2a8..c311dd691d 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -57,7 +57,7 @@ Good bug reports are extremely helpful, so thanks!
Guidelines for bug reports:
-0. **Validate and lint your code** — [validate your HTML](https://html5.validator.nu)
+0. **Validate and lint your code** — [validate your HTML](https://html5.validator.nu/)
and [lint your HTML](https://github.com/twbs/bootlint) to ensure your
problem isn't caused by a simple error in your own code.
@@ -211,7 +211,7 @@ includes code changes) and under the terms of the
* Push the revised version to your pull request's branch and post a comment on the pull request saying that you've fixed the problem(s). One of the Bootstrap Core Team members will then come along and reopen your pull request.
* Or you can just open a new pull request for your revised version.
-[@twbs-savage](https://github.com/twbs-savage) is a Bootstrap bot that automatically runs cross-browser tests (via [Sauce](https://saucelabs.com) and Travis CI) on JavaScript pull requests. Savage will leave a comment on pull requests stating whether cross-browser JS tests passed or failed, with a link to the full Travis build details. If your pull request fails, check the Travis log to see which browser + OS combinations failed. Each browser test in the Travis log includes a link to a Sauce page with details about the test. On those details pages, you can watch a screencast of the test run to see exactly which unit tests failed.
+[@twbs-savage](https://github.com/twbs-savage) is a Bootstrap bot that automatically runs cross-browser tests (via [Sauce](https://saucelabs.com/) and Travis CI) on JavaScript pull requests. Savage will leave a comment on pull requests stating whether cross-browser JS tests passed or failed, with a link to the full Travis build details. If your pull request fails, check the Travis log to see which browser + OS combinations failed. Each browser test in the Travis log includes a link to a Sauce page with details about the test. On those details pages, you can watch a screencast of the test run to see exactly which unit tests failed.
## Code guidelines
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index d2a406f9c9..d9fc88e2b8 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -1,7 +1,7 @@
Before opening an issue:
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
-- [Validate](https://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
+- [Validate](https://html5.validator.nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
- Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs
- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
@@ -14,7 +14,7 @@ When reporting a bug, include:
- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
-- Reduced test cases and potential fixes using [JS Bin](https://jsbin.com)
+- Reduced test cases and potential fixes using [JS Bin](https://jsbin.com/)
When suggesting a feature, include:
diff --git a/README.md b/README.md
index 093a9e3d68..b9104e7e80 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
@@ -40,16 +40,16 @@ Several quick start options are available:
- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v4.0.0-beta.zip)
- Clone the repo: `git clone https://github.com/twbs/bootstrap.git`
-- Install with [npm](https://www.npmjs.com): `npm install bootstrap@4.0.0-beta`
-- Install with [yarn](https://yarnpkg.com): `yarn add bootstrap@4.0.0-beta`
-- Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap:4.0.0-beta`
-- Install with [NuGet](https://www.nuget.org): CSS: `Install-Package bootstrap -Pre` Sass: `Install-Package bootstrap.sass -Pre` (`-Pre` is only required until Bootstrap v4 has a stable release).
+- Install with [npm](https://www.npmjs.com/): `npm install bootstrap@4.0.0-beta`
+- Install with [yarn](https://yarnpkg.com/): `yarn add bootstrap@4.0.0-beta`
+- Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap:4.0.0-beta`
+- Install with [NuGet](https://www.nuget.org/): CSS: `Install-Package bootstrap -Pre` Sass: `Install-Package bootstrap.sass -Pre` (`-Pre` is only required until Bootstrap v4 has a stable release).
Read the [Getting started page](https://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more.
## Status
-[](https://bootstrap-slack.herokuapp.com)
+[](https://bootstrap-slack.herokuapp.com/)
[](https://www.npmjs.com/package/bootstrap)
[](https://rubygems.org/gems/bootstrap)
[](https://travis-ci.org/twbs/bootstrap)
@@ -125,8 +125,8 @@ Editor preferences are available in the [editor config](https://github.com/twbs/
Get updates on Bootstrap's development and chat with the project maintainers and community members.
- Follow [@getbootstrap on Twitter](https://twitter.com/getbootstrap).
-- Read and subscribe to [The Official Bootstrap Blog](https://blog.getbootstrap.com).
-- Join [the official Slack room](https://bootstrap-slack.herokuapp.com).
+- Read and subscribe to [The Official Bootstrap Blog](https://blog.getbootstrap.com/).
+- Join [the official Slack room](https://bootstrap-slack.herokuapp.com/).
- Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel.
- Implementation help may be found at Stack Overflow (tagged [`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4)).
- Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/browse/keyword/bootstrap) or similar delivery mechanisms for maximum discoverability.
@@ -137,7 +137,7 @@ Get updates on Bootstrap's development and chat with the project maintainers and
For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under [the Semantic Versioning guidelines](http://semver.org/). Sometimes we screw up, but we'll adhere to those rules whenever possible.
-See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release.
+See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com/) contain summaries of the most noteworthy changes made in each release.
## Creators
diff --git a/_config.yml b/_config.yml
index fdb6f350e1..5776b28cdc 100644
--- a/_config.yml
+++ b/_config.yml
@@ -54,15 +54,15 @@ current_version: 4.0.0-beta
docs_version: 4.0
repo: "https://github.com/twbs/bootstrap"
slack: "https://bootstrap-slack.herokuapp.com"
-download:
- source: "https://github.com/twbs/bootstrap/archive/v4.0.0-beta.zip"
- dist: "https://github.com/twbs/bootstrap/releases/download/v4.0.0-beta/bootstrap-4.0.0-beta-dist.zip"
-
blog: "https://blog.getbootstrap.com"
expo: "https://expo.getbootstrap.com"
jobs: "https://jobs.getbootstrap.com"
themes: "https://themes.getbootstrap.com"
+download:
+ source: "https://github.com/twbs/bootstrap/archive/v4.0.0-beta.zip"
+ dist: "https://github.com/twbs/bootstrap/releases/download/v4.0.0-beta/bootstrap-4.0.0-beta-dist.zip"
+
cdn:
# See https://www.srihash.org for info on how to generate the hashes
css: "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css"
diff --git a/_data/browser-features.yml b/_data/browser-features.yml
index f19a460e66..acdc532b26 100644
--- a/_data/browser-features.yml
+++ b/_data/browser-features.yml
@@ -52,7 +52,7 @@
browser: >
Edge
summary: >
- Implement the [`of ` clause](http://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
+ Implement the [`of ` clause](https://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
upstream_bug: >
UserVoice#15944476
origin: >
@@ -62,7 +62,7 @@
browser: >
Firefox
summary: >
- Implement the [`of ` clause](http://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
+ Implement the [`of ` clause](https://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
upstream_bug: >
Mozilla#854148
origin: >
@@ -102,7 +102,7 @@
browser: >
Chrome
summary: >
- Implement the [`of ` clause](http://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
+ Implement the [`of ` clause](https://caniuse.com/#feat=css-nth-child-of) of the `:nth-child()` pseudo-class
upstream_bug: >
Chromium#304163
origin: >
diff --git a/_data/showcase.yml b/_data/showcase.yml
index 435286f39b..2643e1ed0e 100644
--- a/_data/showcase.yml
+++ b/_data/showcase.yml
@@ -9,7 +9,7 @@
img: vogue
- name: Riot Design
- url: http://riotdesign.eu/en/
+ url: https://riot.design/en/
expo_url: https://expo.getbootstrap.com/2014/03/13/riot-design/
img: riot
diff --git a/_includes/docs-navbar.html b/_includes/docs-navbar.html
index 34a1a0102c..76435bab78 100644
--- a/_includes/docs-navbar.html
+++ b/_includes/docs-navbar.html
@@ -36,7 +36,7 @@