diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-03-25 17:38:44 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-03-31 21:11:29 +0300 |
commit | 573c10f099611e3c2573b967cac9cb4e500d45a0 (patch) | |
tree | b3774642e9a29910cf11015ac26107f06dfa2943 /site | |
parent | effe4e9588bea238298b936cf627495f04e7147a (diff) |
Backport #30041 and #30448
Switch links to the GitHub organization and fix redirected links
Diffstat (limited to 'site')
-rw-r--r-- | site/_includes/docs-navbar.html | 2 | ||||
-rw-r--r-- | site/_includes/footer.html | 2 | ||||
-rw-r--r-- | site/docs/4.4/components/breadcrumb.md | 2 | ||||
-rw-r--r-- | site/docs/4.4/components/dropdowns.md | 12 | ||||
-rw-r--r-- | site/docs/4.4/components/popovers.md | 8 | ||||
-rw-r--r-- | site/docs/4.4/components/tooltips.md | 8 | ||||
-rw-r--r-- | site/docs/4.4/extend/icons.md | 2 | ||||
-rw-r--r-- | site/docs/4.4/getting-started/browsers-devices.md | 2 | ||||
-rw-r--r-- | site/docs/4.4/getting-started/build-tools.md | 2 |
9 files changed, 20 insertions, 20 deletions
diff --git a/site/_includes/docs-navbar.html b/site/_includes/docs-navbar.html index 54b7a3699a..63dbd8d5ee 100644 --- a/site/_includes/docs-navbar.html +++ b/site/_includes/docs-navbar.html @@ -45,7 +45,7 @@ </li> <li class="nav-item"> - <a class="nav-link p-2" href="{{ site.repo }}" target="_blank" rel="noopener" aria-label="GitHub"> + <a class="nav-link p-2" href="{{ site.github_org }}" target="_blank" rel="noopener" aria-label="GitHub"> {%- include icons/github.svg class="navbar-nav-svg" -%} </a> </li> diff --git a/site/_includes/footer.html b/site/_includes/footer.html index 03192a861a..a46fbf80d9 100644 --- a/site/_includes/footer.html +++ b/site/_includes/footer.html @@ -1,7 +1,7 @@ <footer class="bd-footer text-muted"> <div class="container-fluid p-3 p-md-5"> <ul class="bd-footer-links"> - <li><a href="{{ site.repo }}">GitHub</a></li> + <li><a href="{{ site.github_org }}">GitHub</a></li> <li><a href="https://twitter.com/{{ site.twitter }}">Twitter</a></li> <li><a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/examples/">Examples</a></li> <li><a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/about/overview/">About</a></li> diff --git a/site/docs/4.4/components/breadcrumb.md b/site/docs/4.4/components/breadcrumb.md index cff6c50069..f6ce8f1be1 100644 --- a/site/docs/4.4/components/breadcrumb.md +++ b/site/docs/4.4/components/breadcrumb.md @@ -33,7 +33,7 @@ group: components ## Changing the separator -Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content). They can be changed by changing `$breadcrumb-divider`. The [quote](https://sass-lang.com/documentation/functions/string#quote) function is needed to generate the quotes around a string, so if you want `>` as separator, you can use this: +Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content). They can be changed by changing `$breadcrumb-divider`. The [quote](https://sass-lang.com/documentation/modules/string#quote) function is needed to generate the quotes around a string, so if you want `>` as separator, you can use this: ```scss $breadcrumb-divider: quote(">"); diff --git a/site/docs/4.4/components/dropdowns.md b/site/docs/4.4/components/dropdowns.md index 736e581650..6b8ca2eaca 100644 --- a/site/docs/4.4/components/dropdowns.md +++ b/site/docs/4.4/components/dropdowns.md @@ -8,7 +8,7 @@ toc: true ## Overview -Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. They're toggled by clicking, not by hovering; this is [an intentional design decision](http://markdotto.com/2012/02/27/bootstrap-explained-dropdowns/). +Dropdowns are toggleable, contextual overlays for displaying lists of links and more. They're made interactive with the included Bootstrap dropdown JavaScript plugin. They're toggled by clicking, not by hovering; this is [an intentional design decision](https://markdotto.com/2012/02/27/bootstrap-explained-dropdowns/). Dropdowns are built on a third party library, [Popper.js](https://popper.js.org/), which provides dynamic positioning and viewport detection. Be sure to include [popper.min.js]({{ site.cdn.popper }}) before Bootstrap's JavaScript or use `bootstrap.bundle.min.js` / `bootstrap.bundle.js` which contains Popper.js. Popper.js isn't used to position dropdowns in navbars though as dynamic positioning isn't required. @@ -848,26 +848,26 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap <td> <p>Offset of the dropdown relative to its target.</p> <p>When a function is used to determine the offset, it is called with an object containing the offset data as its first argument. The function must return an object with the same structure. The triggering element DOM node is passed as the second argument.</p> - <p>For more information refer to Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..offset.offset">offset docs</a>.</p> + <p>For more information refer to Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..offset.offset">offset docs</a>.</p> </td> </tr> <tr> <td>flip</td> <td>boolean</td> <td>true</td> - <td>Allow Dropdown to flip in case of an overlapping on the reference element. For more information refer to Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..flip.enabled">flip docs</a>.</td> + <td>Allow Dropdown to flip in case of an overlapping on the reference element. For more information refer to Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..flip.enabled">flip docs</a>.</td> </tr> <tr> <td>boundary</td> <td>string | element</td> <td>'scrollParent'</td> - <td>Overflow constraint boundary of the dropdown menu. Accepts the values of <code>'viewport'</code>, <code>'window'</code>, <code>'scrollParent'</code>, or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..preventOverflow.boundariesElement">preventOverflow docs</a>.</td> + <td>Overflow constraint boundary of the dropdown menu. Accepts the values of <code>'viewport'</code>, <code>'window'</code>, <code>'scrollParent'</code>, or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..preventOverflow.boundariesElement">preventOverflow docs</a>.</td> </tr> <tr> <td>reference</td> <td>string | element</td> <td>'toggle'</td> - <td>Reference element of the dropdown menu. Accepts the values of <code>'toggle'</code>, <code>'parent'</code>, or an HTMLElement reference. For more information refer to Popper.js's <a href="https://popper.js.org/popper-documentation.html#referenceObject">referenceObject docs</a>.</td> + <td>Reference element of the dropdown menu. Accepts the values of <code>'toggle'</code>, <code>'parent'</code>, or an HTMLElement reference. For more information refer to Popper.js's <a href="https://popper.js.org/docs/v1/#referenceObject">referenceObject docs</a>.</td> </tr> <tr> <td>display</td> @@ -879,7 +879,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap <td>popperConfig</td> <td>null | object</td> <td>null</td> - <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js's configuration</a></td> + <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/docs/v1/#Popper.Defaults">Popper.js's configuration</a></td> </tr> </tbody> </table> diff --git a/site/docs/4.4/components/popovers.md b/site/docs/4.4/components/popovers.md index 44d2a321bc..bdd201b157 100644 --- a/site/docs/4.4/components/popovers.md +++ b/site/docs/4.4/components/popovers.md @@ -251,20 +251,20 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti <td>offset</td> <td>number | string</td> <td>0</td> - <td>Offset of the popover relative to its target. For more information refer to Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..offset.offset">offset docs</a>.</td> + <td>Offset of the popover relative to its target. For more information refer to Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..offset.offset">offset docs</a>.</td> </tr> <tr> <td>fallbackPlacement</td> <td>string | array</td> <td>'flip'</td> <td>Allow to specify which position Popper will use on fallback. For more information refer to - Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..flip.behavior">behavior docs</a></td> + Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..flip.behavior">behavior docs</a></td> </tr> <tr> <td>boundary</td> <td>string | element</td> <td>'scrollParent'</td> - <td>Overflow constraint boundary of the popover. Accepts the values of <code>'viewport'</code>, <code>'window'</code>, <code>'scrollParent'</code>, or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..preventOverflow.boundariesElement">preventOverflow docs</a>.</td> + <td>Overflow constraint boundary of the popover. Accepts the values of <code>'viewport'</code>, <code>'window'</code>, <code>'scrollParent'</code>, or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..preventOverflow.boundariesElement">preventOverflow docs</a>.</td> </tr> <tr> <td>sanitize</td> @@ -288,7 +288,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti <td>popperConfig</td> <td>null | object</td> <td>null</td> - <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js's configuration</a></td> + <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/docs/v1/#Popper.Defaults">Popper.js's configuration</a></td> </tr> </tbody> </table> diff --git a/site/docs/4.4/components/tooltips.md b/site/docs/4.4/components/tooltips.md index 692819fa38..2d23c49873 100644 --- a/site/docs/4.4/components/tooltips.md +++ b/site/docs/4.4/components/tooltips.md @@ -242,7 +242,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti <td> <p>Offset of the tooltip relative to its target.</p> <p>When a function is used to determine the offset, it is called with an object containing the offset data as its first argument. The function must return an object with the same structure. The triggering element DOM node is passed as the second argument.</p> - <p>For more information refer to Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..offset.offset">offset docs</a>.</p> + <p>For more information refer to Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..offset.offset">offset docs</a>.</p> </td> </tr> <tr> @@ -250,13 +250,13 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti <td>string | array</td> <td>'flip'</td> <td>Allow to specify which position Popper will use on fallback. For more information refer to - Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..flip.behavior">behavior docs</a></td> + Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..flip.behavior">behavior docs</a></td> </tr> <tr> <td>boundary</td> <td>string | element</td> <td>'scrollParent'</td> - <td>Overflow constraint boundary of the tooltip. Accepts the values of <code>'viewport'</code>, <code>'window'</code>, <code>'scrollParent'</code>, or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's <a href="https://popper.js.org/popper-documentation.html#modifiers..preventOverflow.boundariesElement">preventOverflow docs</a>.</td> + <td>Overflow constraint boundary of the tooltip. Accepts the values of <code>'viewport'</code>, <code>'window'</code>, <code>'scrollParent'</code>, or an HTMLElement reference (JavaScript only). For more information refer to Popper.js's <a href="https://popper.js.org/docs/v1/#modifiers..preventOverflow.boundariesElement">preventOverflow docs</a>.</td> </tr> <tr> <td>sanitize</td> @@ -280,7 +280,7 @@ Note that for security reasons the `sanitize`, `sanitizeFn` and `whiteList` opti <td>popperConfig</td> <td>null | object</td> <td>null</td> - <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/popper-documentation.html#Popper.Defaults">Popper.js's configuration</a></td> + <td>To change Bootstrap's default Popper.js config, see <a href="https://popper.js.org/docs/v1/#Popper.Defaults">Popper.js's configuration</a></td> </tr> </tbody> </table> diff --git a/site/docs/4.4/extend/icons.md b/site/docs/4.4/extend/icons.md index f2ab12ec31..a21104b38d 100644 --- a/site/docs/4.4/extend/icons.md +++ b/site/docs/4.4/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/tools/icons/) +- [Google Material icons](https://material.io/resources/icons/) - [Ionicons](https://ionicons.com/) - [Dripicons](http://demo.amitjakhu.com/dripicons/) - [Ikons](http://ikons.piotrkwiatkowski.co.uk/) diff --git a/site/docs/4.4/getting-started/browsers-devices.md b/site/docs/4.4/getting-started/browsers-devices.md index f2afcf3994..11c062e2ee 100644 --- a/site/docs/4.4/getting-started/browsers-devices.md +++ b/site/docs/4.4/getting-started/browsers-devices.md @@ -113,7 +113,7 @@ Similarly, the latest versions of most desktop browsers are supported. </tbody> </table> -For Firefox, in addition to the latest normal stable release, we also support the latest [Extended Support Release (ESR)](https://www.mozilla.org/en-US/firefox/organizations/#faq) version of Firefox. +For Firefox, in addition to the latest normal stable release, we also support the latest [Extended Support Release (ESR)](https://www.mozilla.org/en-US/firefox/enterprise/) version of Firefox. Unofficially, Bootstrap should look and behave well enough in Chromium and Chrome for Linux, Firefox for Linux, and Internet Explorer 9, though they are not officially supported. diff --git a/site/docs/4.4/getting-started/build-tools.md b/site/docs/4.4/getting-started/build-tools.md index cf7a24353b..3a8f42105c 100644 --- a/site/docs/4.4/getting-started/build-tools.md +++ b/site/docs/4.4/getting-started/build-tools.md @@ -28,7 +28,7 @@ Our [package.json]({{ site.repo }}/blob/v{{ site.current_version }}/package.json | Task | Description | | --- | --- | -| `npm run dist` | `npm run dist` creates the `/dist/` directory with compiled files. **Uses [Sass](https://sass-lang.com/), [Autoprefixer][autoprefixer], and [terser](https://github.com/terser-js/terser).** | +| `npm run dist` | `npm run dist` creates the `/dist/` directory with compiled files. **Uses [Sass](https://sass-lang.com/), [Autoprefixer][autoprefixer], and [terser](https://github.com/terser/terser).** | | `npm test` | Same as `npm run dist` plus it runs tests locally | | `npm run docs` | Builds and lints CSS and JavaScript for docs. You can then run the documentation locally via `npm run docs-serve`. | |