From 0b97d1b0c43c42043cd4e97fe303ba08eb4b2b49 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 14 Sep 2018 17:49:59 +0300 Subject: [PATCH] Use https in more places and fix a few redirects. --- README.md | 6 +++--- js/tests/README.md | 2 +- site/_data/translations.yml | 6 +++--- site/docs/4.1/content/images.md | 2 +- site/docs/4.1/examples/sticky-footer-navbar/index.html | 2 +- site/docs/4.1/examples/sticky-footer/index.html | 2 +- site/docs/4.1/extend/icons.md | 2 +- site/docs/4.1/getting-started/accessibility.md | 2 +- site/docs/4.1/getting-started/build-tools.md | 2 +- site/docs/4.1/migration.md | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 9f91a93366..6090f71fbc 100644 --- a/README.md +++ b/README.md @@ -64,8 +64,8 @@ Read the [Getting started page](https://getbootstrap.com/docs/4.1/getting-starte [![peerDependencies Status](https://img.shields.io/david/peer/twbs/bootstrap.svg)](https://david-dm.org/twbs/bootstrap?type=peer) [![devDependency Status](https://img.shields.io/david/dev/twbs/bootstrap.svg)](https://david-dm.org/twbs/bootstrap?type=dev) [![Coverage Status](https://img.shields.io/coveralls/github/twbs/bootstrap/v4-dev.svg)](https://coveralls.io/github/twbs/bootstrap?branch=v4-dev) -[![CSS gzip size](http://img.badgesize.io/twbs/bootstrap/v4-dev/dist/css/bootstrap.min.css?compression=gzip&label=CSS+gzip+size)](https://github.com/twbs/bootstrap/tree/v4-dev/dist/css/bootstrap.min.css) -[![JS gzip size](http://img.badgesize.io/twbs/bootstrap/v4-dev/dist/js/bootstrap.min.js?compression=gzip&label=JS+gzip+size)](https://github.com/twbs/bootstrap/tree/v4-dev/dist/js/bootstrap.min.js) +[![CSS gzip size](https://img.badgesize.io/twbs/bootstrap/v4-dev/dist/css/bootstrap.min.css?compression=gzip&label=CSS+gzip+size)](https://github.com/twbs/bootstrap/tree/v4-dev/dist/css/bootstrap.min.css) +[![JS gzip size](https://img.badgesize.io/twbs/bootstrap/v4-dev/dist/js/bootstrap.min.js?compression=gzip&label=JS+gzip+size)](https://github.com/twbs/bootstrap/tree/v4-dev/dist/js/bootstrap.min.js) [![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=SkxZcStBeExEdVJqQ2hWYnlWckpkNmNEY213SFp6WHFETWk2bGFuY3pCbz0tLXhqbHJsVlZhQnRBdEpod3NLSDMzaHc9PQ==--3d0b75245708616eb93113221beece33e680b229)](https://www.browserstack.com/automate/public-build/SkxZcStBeExEdVJqQ2hWYnlWckpkNmNEY213SFp6WHFETWk2bGFuY3pCbz0tLXhqbHJsVlZhQnRBdEpod3NLSDMzaHc9PQ==--3d0b75245708616eb93113221beece33e680b229) ## What's included @@ -120,7 +120,7 @@ Documentation search is powered by [Algolia's DocSearch](https://community.algol 3. Run `npm start` to compile CSS and JavaScript files, generate our docs, and watch for changes. 4. Open `http://localhost:9001` in your browser, and voilà. -Learn more about using Jekyll by reading its [documentation](https://jekyllrb.com/docs/home/). +Learn more about using Jekyll by reading its [documentation](https://jekyllrb.com/docs/). ### Documentation for previous releases diff --git a/js/tests/README.md b/js/tests/README.md index 1ba3d694e8..3b079d92ce 100644 --- a/js/tests/README.md +++ b/js/tests/README.md @@ -1,6 +1,6 @@ ## How does Bootstrap's test suite work? -Bootstrap uses [QUnit](https://qunitjs.com/) and [Sinon](http://sinonjs.org/). Each plugin has a file dedicated to its tests in `unit/.js`. +Bootstrap uses [QUnit](https://qunitjs.com/) and [Sinon](https://sinonjs.org/). Each plugin has a file dedicated to its tests in `unit/.js`. * `unit/` contains the unit test files for each Bootstrap plugin. * `vendor/` contains third-party testing-related code (QUnit, jQuery and Sinon). diff --git a/site/_data/translations.yml b/site/_data/translations.yml index 38b5771c48..d9d317ab21 100644 --- a/site/_data/translations.yml +++ b/site/_data/translations.yml @@ -1,12 +1,12 @@ - name: 中文(繁體) code: zh-tw description: Bootstrap 4 繁體中文手冊 - url: http://bootstrap.hexschool.com/ + url: https://bootstrap.hexschool.com/ - name: Chinese code: zh description: Bootstrap 4 · 全球最流行的 HTML、CSS 和 JS 工具库。 - url: https://code.z01.com/v4 + url: https://code.z01.com/v4/ - name: Chinese code: zh @@ -16,4 +16,4 @@ - name: Brazilian Portuguese code: pt-BR description: Bootstrap 4 Português do Brasil - url: http://getbootstrap.com.br/v4/ + url: https://getbootstrap.com.br/v4/ diff --git a/site/docs/4.1/content/images.md b/site/docs/4.1/content/images.md index 49576da9d6..cb56139bd1 100644 --- a/site/docs/4.1/content/images.md +++ b/site/docs/4.1/content/images.md @@ -39,7 +39,7 @@ In addition to our [border-radius utilities]({{ site.baseurl }}/docs/{{ site.doc ## Aligning images -Align images with the [helper float classes]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/float) or [text alignment classes]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/text/#text-alignment). `block`-level images can be centered using [the `.mx-auto` margin utility class]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/spacing/#horizontal-centering). +Align images with the [helper float classes]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/float/) or [text alignment classes]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/text/#text-alignment). `block`-level images can be centered using [the `.mx-auto` margin utility class]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/spacing/#horizontal-centering).
A generic square placeholder image with rounded corners diff --git a/site/docs/4.1/examples/sticky-footer-navbar/index.html b/site/docs/4.1/examples/sticky-footer-navbar/index.html index ffd2f11840..8a66601cc1 100644 --- a/site/docs/4.1/examples/sticky-footer-navbar/index.html +++ b/site/docs/4.1/examples/sticky-footer-navbar/index.html @@ -50,7 +50,7 @@

Sticky footer with fixed navbar

Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with padding-top: 60px; on the main > .container.

-

Back to the default sticky footer minus the navbar.

+

Back to the default sticky footer minus the navbar.

diff --git a/site/docs/4.1/examples/sticky-footer/index.html b/site/docs/4.1/examples/sticky-footer/index.html index 6b56e79523..868211c195 100644 --- a/site/docs/4.1/examples/sticky-footer/index.html +++ b/site/docs/4.1/examples/sticky-footer/index.html @@ -23,7 +23,7 @@

Sticky footer

Pin a footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.

-

Use the sticky footer with a fixed navbar if need be, too.

+

Use the sticky footer with a fixed navbar if need be, too.

diff --git a/site/docs/4.1/extend/icons.md b/site/docs/4.1/extend/icons.md index 47c1f1fd41..9acdbeb866 100644 --- a/site/docs/4.1/extend/icons.md +++ b/site/docs/4.1/extend/icons.md @@ -20,7 +20,7 @@ We've tested and used these icon sets ourselves. While we haven't tried these out, they do look promising and provide multiple formats—including SVG. - [Bytesize](https://github.com/danklammer/bytesize-icons) -- [Google Material icons](https://material.io/icons/) +- [Google Material icons](https://material.io/tools/icons/) - [Ionicons](https://ionicons.com/) - [Feather](https://feathericons.com/) - [Dripicons](http://demo.amitjakhu.com/dripicons/) diff --git a/site/docs/4.1/getting-started/accessibility.md b/site/docs/4.1/getting-started/accessibility.md index 5a0c0b0ebe..d300a9ba92 100644 --- a/site/docs/4.1/getting-started/accessibility.md +++ b/site/docs/4.1/getting-started/accessibility.md @@ -18,7 +18,7 @@ Bootstrap's styling and layout can be applied to a wide range of markup structur ### Interactive components -Bootstrap's interactive components—such as modal dialogs, dropdown menus and custom tooltips—are designed to work for touch, mouse and keyboard users. Through the use of relevant [WAI-ARIA](https://www.w3.org/WAI/intro/aria) roles and attributes, these components should also be understandable and operable using assistive technologies (such as screen readers). +Bootstrap's interactive components—such as modal dialogs, dropdown menus and custom tooltips—are designed to work for touch, mouse and keyboard users. Through the use of relevant [WAI-ARIA](https://www.w3.org/WAI/standards-guidelines/aria/) roles and attributes, these components should also be understandable and operable using assistive technologies (such as screen readers). Because Bootstrap's components are purposely designed to be fairly generic, authors may need to include further ARIA roles and attributes, as well as JavaScript behavior, to more accurately convey the precise nature and functionality of their component. This is usually noted in the documentation. diff --git a/site/docs/4.1/getting-started/build-tools.md b/site/docs/4.1/getting-started/build-tools.md index c26d9bdd0b..fe12057a50 100644 --- a/site/docs/4.1/getting-started/build-tools.md +++ b/site/docs/4.1/getting-started/build-tools.md @@ -48,7 +48,7 @@ Running our documentation locally requires the use of Jekyll, a decently flexibl 2. From the root `/bootstrap` directory, run `npm run docs-serve` in the command line. 3. Open `http://localhost:9001` in your browser, and voilà. -Learn more about using Jekyll by reading its [documentation](https://jekyllrb.com/docs/home/). +Learn more about using Jekyll by reading its [documentation](https://jekyllrb.com/docs/). ## Troubleshooting diff --git a/site/docs/4.1/migration.md b/site/docs/4.1/migration.md index 6798d87290..4abf0c02d7 100644 --- a/site/docs/4.1/migration.md +++ b/site/docs/4.1/migration.md @@ -300,7 +300,7 @@ Dropped entirely for the new card component. ### Vendor prefix mixins -Bootstrap 3's [vendor prefix](https://www.thoughtco.com/css-vendor-prefixes-3466867) mixins, which were deprecated in v3.2.0, have been removed in Bootstrap 4. Since we use [Autoprefixer](https://github.com/postcss/autoprefixer), they're no longer necessary. +Bootstrap 3's [vendor prefix](https://www.lifewire.com/css-vendor-prefixes-3466867) mixins, which were deprecated in v3.2.0, have been removed in Bootstrap 4. Since we use [Autoprefixer](https://github.com/postcss/autoprefixer), they're no longer necessary. Removed the following mixins: `animation`, `animation-delay`, `animation-direction`, `animation-duration`, `animation-fill-mode`, `animation-iteration-count`, `animation-name`, `animation-timing-function`, `backface-visibility`, `box-sizing`, `content-columns`, `hyphens`, `opacity`, `perspective`, `perspective-origin`, `rotate`, `rotateX`, `rotateY`, `scale`, `scaleX`, `scaleY`, `skew`, `transform-origin`, `transition-delay`, `transition-duration`, `transition-property`, `transition-timing-function`, `transition-transform`, `translate`, `translate3d`, `user-select`