diff --git a/_config.yml b/_config.yml index 153d69ce536627e55a97ff25a4f81d3da4ebbda3..7c4b2b3311c650637caeb9647bff32cb805f4b68 100644 --- a/_config.yml +++ b/_config.yml @@ -39,6 +39,7 @@ social_logo_path: /docs/4.4/assets/brand/bootstrap-social-logo.png current_version: 4.4.1 current_ruby_version: 4.4.1 docs_version: 4.4 +github_org: "https://github.com/twbs" repo: "https://github.com/twbs/bootstrap" slack: "https://bootstrap-slack.herokuapp.com" opencollective: "https://opencollective.com/bootstrap" diff --git a/site/_includes/docs-navbar.html b/site/_includes/docs-navbar.html index 54b7a3699aef560dd571992cd01ea5b221dd62b6..63dbd8d5ee0c5838dd8dfc5ad3421f91d6c9e424 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 03192a861a93c2668a79cd51024421068c390a57..a46fbf80d97934a7ca427606f4d23db3fb5c0ef7 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 cff6c50069610551f9f931039c3e488c3b3fb150..f6ce8f1be11218df13e2e90574cf4b9f12e6abdb 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 736e58165014bbd6726ea741274f2850b9e0199b..6b8ca2eaca7ee019f7e54310fb934238c7bddca6 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 44d2a321bc5c0b9752a45b8ae11b166fc41e2dd5..bdd201b157461556e11e4874381a52f1bcd9e9fd 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 692819fa38ff0166e55fc33262421640b618c08c..2d23c49873996ecb2ff30f8072c4ce6733d73650 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 f2ab12ec31cfe155b81cdfd955bc3c1dba39d778..a21104b38dd6ec62311c7e2ef945ca7117c033e5 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 f2afcf3994d3c3f8d6e0a7e262c366cf945bf5e6..11c062e2eeb04ba0b84466a987f8df2f2dbdf47c 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 cf7a24353b873a68d365359d2c13abed7f37538e..3a8f42105c7e949386a3a04dc0fb0d8619258ed8 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`. |