From e8015e3f16e87c5ebaf6b10d9f627a1dc7f8fe65 Mon Sep 17 00:00:00 2001 From: Bardi Harborow Date: Mon, 27 Feb 2017 21:42:26 +1100 Subject: [PATCH] Fix broken links. --- docs/_data/translations.yml | 2 +- docs/components/collapse.md | 2 +- docs/components/modal.md | 2 +- docs/content/reboot.md | 2 +- docs/getting-started/download.md | 2 +- docs/layout/grid.md | 2 +- docs/utilities/responsive-helpers.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/_data/translations.yml b/docs/_data/translations.yml index c9a4abd007..52241e3d59 100644 --- a/docs/_data/translations.yml +++ b/docs/_data/translations.yml @@ -1,7 +1,7 @@ - name: Chinese code: zh description: Bootstrap 中文文档 - url: http://v4.bootcss.com/ + url: https://v4.bootcss.com/ - name: Chinese code: zh diff --git a/docs/components/collapse.md b/docs/components/collapse.md index c269bb3828..8942c85a4a 100644 --- a/docs/components/collapse.md +++ b/docs/components/collapse.md @@ -40,7 +40,7 @@ You can use a link with the `href` attribute, or a button with the `data-target` ## Accordion example -Using the [card]({{ site.baseurl }}/components/card) component, you can extend the default collapse behavior to create an accordion. +Using the [card]({{ site.baseurl }}/components/card/) component, you can extend the default collapse behavior to create an accordion. {% example html %}
diff --git a/docs/components/modal.md b/docs/components/modal.md index 81f917f250..92840058e3 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -347,7 +347,7 @@ Utilize the Bootstrap grid system within a modal by nesting `.container-fluid` w ### Varying modal content -Have a bunch of buttons that all trigger the same modal with slightly different contents? Use `event.relatedTarget` and [HTML `data-*` attributes](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes) (possibly [via jQuery](https://api.jquery.com/data/)) to vary the contents of the modal depending on which button was clicked. +Have a bunch of buttons that all trigger the same modal with slightly different contents? Use `event.relatedTarget` and [HTML `data-*` attributes](https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes) (possibly [via jQuery](https://api.jquery.com/data/)) to vary the contents of the modal depending on which button was clicked. Below is a live demo followed by example HTML and JavaScript. For more information, [read the modal events docs](#events) for details on `relatedTarget`. diff --git a/docs/content/reboot.md b/docs/content/reboot.md index 5d8d022a22..ab65fe1725 100644 --- a/docs/content/reboot.md +++ b/docs/content/reboot.md @@ -311,7 +311,7 @@ The `` element receives basic styling to make it stand out amongst paragra ## HTML5 `[hidden]` attribute -HTML5 adds [a new global attribute named `[hidden]`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden), which is styled as `display: none` by default. Borrowing an idea from [PureCSS](http://purecss.io), we improve upon this default by making `[hidden] { display: none !important; }` to help prevent its `display` from getting accidentally overridden. While `[hidden]` isn't natively supported by IE10, the explicit declaration in our CSS gets around that problem. +HTML5 adds [a new global attribute named `[hidden]`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden), which is styled as `display: none` by default. Borrowing an idea from [PureCSS](https://purecss.io), we improve upon this default by making `[hidden] { display: none !important; }` to help prevent its `display` from getting accidentally overridden. While `[hidden]` isn't natively supported by IE10, the explicit declaration in our CSS gets around that problem. {% highlight html %} diff --git a/docs/getting-started/download.md b/docs/getting-started/download.md index 80f762a8d0..2323d3e4db 100644 --- a/docs/getting-started/download.md +++ b/docs/getting-started/download.md @@ -38,7 +38,7 @@ Pull in Bootstrap's **source files** into nearly any project with some of the mo ### npm -Install Bootstrap in your Node powered apps with [the npm package](https://www.npmjs.org/package/bootstrap): +Install Bootstrap in your Node powered apps with [the npm package](https://www.npmjs.com/package/bootstrap): {% highlight bash %} npm install bootstrap@{{ site.current_version }} diff --git a/docs/layout/grid.md b/docs/layout/grid.md index 4d0d3e6e8e..31d1f9a81f 100644 --- a/docs/layout/grid.md +++ b/docs/layout/grid.md @@ -585,7 +585,7 @@ To nest your content with the default grid, add a new `.row` and set of `.col-sm ## Sass mixins -When using Bootstrap's source Sass files, you have the option of using Sass variables and mixins to create custom, semantic, and responsive page layouts. Our [predefined grid classes](#predefined-classes) use these same variables and mixins to provide a whole suite of ready-to-use classes for fast responsive layouts. +When using Bootstrap's source Sass files, you have the option of using Sass variables and mixins to create custom, semantic, and responsive page layouts. Our predefined grid classes use these same variables and mixins to provide a whole suite of ready-to-use classes for fast responsive layouts. ### Variables diff --git a/docs/utilities/responsive-helpers.md b/docs/utilities/responsive-helpers.md index 35e7fcf2f4..0f1a43ee1e 100644 --- a/docs/utilities/responsive-helpers.md +++ b/docs/utilities/responsive-helpers.md @@ -14,7 +14,7 @@ Rules are directly applied to ` +
{% endexample %}