From ba7d9217323e8f0ecf6d8548779cc399ac0f5c51 Mon Sep 17 00:00:00 2001
From: Mark Otto
Date: Mon, 7 Aug 2017 21:42:36 -0700
Subject: clarify optional js, add some links, emphasize some text
---
docs/4.0/getting-started/introduction.md | 5 +++--
docs/4.0/getting-started/javascript.md | 6 ++++--
2 files changed, 7 insertions(+), 4 deletions(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/introduction.md b/docs/4.0/getting-started/introduction.md
index 233c82883..b135326e7 100644
--- a/docs/4.0/getting-started/introduction.md
+++ b/docs/4.0/getting-started/introduction.md
@@ -24,7 +24,7 @@ Copy-paste the stylesheet `` into your `` before all other styleshee
{% endhighlight %}
-Add our JavaScript plugins, jQuery, and Popper.js near the end of your pages, right before the closing `` tag. Be sure to place jQuery and Popper.js first, as our code depends on them. While we use [jQuery's slim build](https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/) in our docs, the full version is also supported.
+Add our optional JavaScript plugins, jQuery, and [Popper.js](https://github.com/FezVrasta/popper.js)) near the end of your pages, right before the closing `
Hello, world!
-
+
+
diff --git a/docs/4.0/getting-started/javascript.md b/docs/4.0/getting-started/javascript.md
index c4fb2366a..003ebdb7b 100644
--- a/docs/4.0/getting-started/javascript.md
+++ b/docs/4.0/getting-started/javascript.md
@@ -1,7 +1,7 @@
---
layout: docs
title: JavaScript
-description: Bring Bootstrap to life with our JavaScript plugins built on jQuery. Learn about each plugin, our data and programmatic API options, and more.
+description: Bring Bootstrap to life with our optional JavaScript plugins built on jQuery. Learn about each plugin, our data and programmatic API options, and more.
group: getting-started
toc: true
---
@@ -12,7 +12,9 @@ Plugins can be included individually (using Bootstrap's individual `*.js` files)
## Dependencies
-Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that all plugins depend on jQuery (this means jQuery must be included **before** the plugin files). [Consult our `bower.json`]({{ site.repo }}/blob/v{{ site.current_version }}/bower.json) to see which versions of jQuery are supported.
+Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that **all plugins depend on jQuery** (this means jQuery must be included **before** the plugin files). [Consult our `bower.json`]({{ site.repo }}/blob/v{{ site.current_version }}/bower.json) to see which versions of jQuery are supported.
+
+Our tooltips and popovers also depend on [Popper.js](https://github.com/FezVrasta/popper.js).
## Data attributes
--
cgit v1.2.3
From 4e07146624f0c1dac765c984a2ecca90fcc3113e Mon Sep 17 00:00:00 2001
From: Mark Otto
Date: Mon, 7 Aug 2017 21:57:08 -0700
Subject: rewrite parts of download page
---
docs/4.0/getting-started/download.md | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/download.md b/docs/4.0/getting-started/download.md
index 468575494..3837d296a 100644
--- a/docs/4.0/getting-started/download.md
+++ b/docs/4.0/getting-started/download.md
@@ -6,28 +6,44 @@ group: getting-started
toc: true
---
-## Bootstrap CSS and JS
+## Compiled CSS and JS
-**Download Bootstrap's ready-to-use code to easily drop into your project.** Includes compiled and minified versions of all our CSS bundles (default, grid only, or Reboot only) and JavaScript plugins. Doesn't include documentation or source files.
+Download ready-to-use compiled code for **Bootstrap v{{ site.current_version}}** to easily drop into your project, which includes:
-**Current version:** v{{ site.current_version}}
+- Compiled and minified CSS bundles (default, grid-only, and Reboot-only)
+- Compiled and minified JavaScript plugins
-Download Bootstrap
+This doesn't include documentation, source files, or any optional JavaScript dependencies (jQuery and Popper.js).
+
+Download
## Source files
-**Want to compile Bootstrap with your project's asset pipeline?** Choose this option to download our source Sass, JavaScript, and documentation files. Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), and [some setup]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/build-tools/#tooling-setup).
+
+Compile Bootstrap with your own asset pipeline by downloading our source Sass, JavaScript, and documentation files. This option requires some additional tooling:
+
+- Sass compiler (Libsass or Ruby Sass is supported) for compiling your CSS.
+- [Autoprefixer](https://github.com/postcss/autoprefixer) for CSS vendor prefixing
+
+Should you require [build tools]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/build-tools/#tooling-setup), they are included for developing Bootstrap and it's docs, but they're likely unsuitable for your own purposes.
Download source
## Bootstrap CDN
-Skip the download and use the Bootstrap CDN to deliver Bootstrap's compiled CSS and JS to your project.
+Skip the download with the Bootstrap CDN to deliver cached version of Bootstrap's compiled CSS and JS to your project.
{% highlight html %}
{% endhighlight %}
+If you're using our compiled JavaScript, don't forget to include CDN versions of jQuery and Popper.js before it.
+
+{% highlight html %}
+
+
+{% endhighlight %}
+
## Package managers
Pull in Bootstrap's **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a Sass compiler and [Autoprefixer](https://github.com/postcss/autoprefixer)** for a setup that matches our official compiled versions.
--
cgit v1.2.3
From 209a9635391a4137cd2792f4227ab1c95742a5a2 Mon Sep 17 00:00:00 2001
From: Mark Otto
Date: Mon, 7 Aug 2017 21:57:28 -0700
Subject: remove commented out code while here
---
docs/4.0/getting-started/introduction.md | 4 ----
1 file changed, 4 deletions(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/introduction.md b/docs/4.0/getting-started/introduction.md
index b135326e7..6423209be 100644
--- a/docs/4.0/getting-started/introduction.md
+++ b/docs/4.0/getting-started/introduction.md
@@ -10,10 +10,6 @@ redirect_from:
toc: true
---
-
-
-
-
## Quick start
Looking to quickly add Bootstrap to your project? Use the Bootstrap CDN, provided for free by the folks at MaxCDN. Using a package manager or need to download the source files? [Head to the downloads page.]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/download/)
--
cgit v1.2.3
From 55389673814dc96d5477f679052013db5e10ea66 Mon Sep 17 00:00:00 2001
From: Varunram
Date: Fri, 16 Jun 2017 19:18:21 +0530
Subject: Add event.preventDefault documentation to javascript.md
---
docs/4.0/getting-started/javascript.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/javascript.md b/docs/4.0/getting-started/javascript.md
index 003ebdb7b..bd2f969ff 100644
--- a/docs/4.0/getting-started/javascript.md
+++ b/docs/4.0/getting-started/javascript.md
@@ -36,7 +36,7 @@ $(document).off('.alert.data-api')
Bootstrap provides custom events for most plugins' unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. `show`) is triggered at the start of an event, and its past participle form (ex. `shown`) is triggered on the completion of an action.
-All infinitive events provide [`preventDefault()`](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) functionality. This provides the ability to stop the execution of an action before it starts.
+All infinitive events provide [`preventDefault()`](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) functionality. This provides the ability to stop the execution of an action before it starts. Returning false from an event handler will also automatically call `preventDefault()`
{% highlight js %}
$('#myModal').on('show.bs.modal', function (e) {
--
cgit v1.2.3
From caa7117e231b27e5359a9aa822bcff60defa0393 Mon Sep 17 00:00:00 2001
From: Mark Otto
Date: Fri, 16 Jun 2017 18:59:43 -0700
Subject: Update javascript.md
---
docs/4.0/getting-started/javascript.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/javascript.md b/docs/4.0/getting-started/javascript.md
index bd2f969ff..92891a2ab 100644
--- a/docs/4.0/getting-started/javascript.md
+++ b/docs/4.0/getting-started/javascript.md
@@ -36,7 +36,7 @@ $(document).off('.alert.data-api')
Bootstrap provides custom events for most plugins' unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. `show`) is triggered at the start of an event, and its past participle form (ex. `shown`) is triggered on the completion of an action.
-All infinitive events provide [`preventDefault()`](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) functionality. This provides the ability to stop the execution of an action before it starts. Returning false from an event handler will also automatically call `preventDefault()`
+All infinitive events provide [`preventDefault()`](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault) functionality. This provides the ability to stop the execution of an action before it starts. Returning false from an event handler will also automatically call `preventDefault()`.
{% highlight js %}
$('#myModal').on('show.bs.modal', function (e) {
--
cgit v1.2.3
From b5f89d5672822734d0023cfc1e026b8985b97f1c Mon Sep 17 00:00:00 2001
From: Christian Oliff
Date: Fri, 11 Aug 2017 07:06:15 +0100
Subject: Remove the Internet Explorer 10 for Windows Phone 8 workaround
(#23122)
I suggest that there's no longer a need to include the section on workaround for the IE10 bug on Windows Phone 8. Not only was this bug patched in a later release of Windows Phone 8 (which shipped in 2013), but Windows Phone 8's support ended a long time ago - even its successor Windows Phone 8.1 is no longer supported by Microsoft. The potential audience affected by this bug is likely microscopic so I suggest it can be safely removed.
I suggest the workaround JS (http://getbootstrap.com/assets/js/ie10-viewport-bug-workaround.js) can also be safely removed from the docs and examples but I haven't done that in this PR.
---
docs/4.0/getting-started/browsers-devices.md | 22 ----------------------
1 file changed, 22 deletions(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/browsers-devices.md b/docs/4.0/getting-started/browsers-devices.md
index 426692b32..b5a6cc763 100644
--- a/docs/4.0/getting-started/browsers-devices.md
+++ b/docs/4.0/getting-started/browsers-devices.md
@@ -105,28 +105,6 @@ Internet Explorer 10+ is supported; IE9 and down is not. Please be aware that so
**If you require IE8-9 support, use Bootstrap 3.** It's the most stable version of our code and is still supported by our team for critical bugfixes and documentation changes. However, no new features will be added to it.
-## Internet Explorer 10 in Windows Phone 8
-
-Internet Explorer 10 in Windows Phone 8 versions older than [Update 3 (a.k.a. GDR3)](https://blogs.windows.com/buildingapps/2013/10/14/introducing-windows-phone-preview-for-developers/) doesn't differentiate **device width** from **viewport width** in `@-ms-viewport` at-rules, and thus doesn't properly apply the media queries in Bootstrap's CSS. To address this, you'll need to **include the following JavaScript to work around the bug**.
-
-{% highlight js %}
-// Copyright 2014-2017 The Bootstrap Authors
-// Copyright 2014-2017 Twitter, Inc.
-// Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
-if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
- var msViewportStyle = document.createElement('style')
- msViewportStyle.appendChild(
- document.createTextNode(
- '@-ms-viewport{width:auto!important}'
- )
- )
- document.head.appendChild(msViewportStyle)
-}
-{% endhighlight %}
-
-For more information and usage guidelines, read [Windows Phone 8 and Device-Width](https://timkadlec.com/2013/01/windows-phone-8-and-device-width/).
-
-As a heads up, we include this in all of Bootstrap's documentation and examples as a demonstration.
## Modals and dropdowns on mobile
--
cgit v1.2.3
From 06044d5f827b0b9e611110f59aef77bb603102ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?b=C3=A9la?=
Date: Fri, 11 Aug 2017 12:54:24 +0200
Subject: Update Rubygems version. (#23289)
---
docs/4.0/getting-started/download.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/download.md b/docs/4.0/getting-started/download.md
index 3837d296a..0edee619b 100644
--- a/docs/4.0/getting-started/download.md
+++ b/docs/4.0/getting-started/download.md
@@ -68,13 +68,13 @@ Bootstrap's `package.json` contains some additional metadata under the following
Install Bootstrap in your Ruby apps using [Bundler](https://bundler.io/) (**recommended**) and [RubyGems](https://rubygems.org/) by adding the following line to your [`Gemfile`](https://bundler.io/gemfile.html):
{% highlight ruby %}
-gem 'bootstrap', '~> 4.0.0.alpha6'
+gem 'bootstrap', '~> 4.0.0.beta'
{% endhighlight %}
Alternatively, if you're not using Bundler, you can install the gem by running this command:
{% highlight bash %}
-gem install bootstrap -v 4.0.0.alpha6
+gem install bootstrap -v 4.0.0.beta
{% endhighlight %}
[See the gem's README](https://github.com/twbs/bootstrap-rubygem/blob/master/README.md) for further details.
--
cgit v1.2.3
From 537b5f012771069b182aabab651eff9723d785b0 Mon Sep 17 00:00:00 2001
From: Jan Karlo Dela Cruz
Date: Fri, 11 Aug 2017 14:26:51 +0100
Subject: Fix broken links in documentation. (#23315)
---
docs/4.0/getting-started/webpack.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/webpack.md b/docs/4.0/getting-started/webpack.md
index 84ad74c7f..ec748c48e 100644
--- a/docs/4.0/getting-started/webpack.md
+++ b/docs/4.0/getting-started/webpack.md
@@ -8,11 +8,11 @@ toc: true
## Installing Bootstrap
-[Install bootstrap](/getting-started/download/#npm) as a node module using npm.
+[Install bootstrap]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/download/#npm) as a node module using npm.
## Importing JavaScript
-Import [Bootstrap's JavaScript](/getting-started/javascript/) by adding this line to your app's entry point (usually `index.js` or `app.js`):
+Import [Bootstrap's JavaScript]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/javascript/) by adding this line to your app's entry point (usually `index.js` or `app.js`):
{% highlight js %}
import 'bootstrap';
@@ -55,7 +55,7 @@ Notice that if you chose to **import plugins individually**, you must also insta
To enjoy the full potential of Bootstrap and customize it to your needs, use the source files as a part of your project's bundling process.
-First, create your own `_custom.scss` and use it to override the [built-in custom variables](/getting-started/options/). Then, use your main sass file to import your custom variables, followed by Bootstrap:
+First, create your own `_custom.scss` and use it to override the [built-in custom variables]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/options/). Then, use your main sass file to import your custom variables, followed by Bootstrap:
{% highlight scss %}
@import "custom";
@import "~bootstrap/scss/bootstrap";
--
cgit v1.2.3
From f8e89c52b5d53ecd76a86b83988e98df8b307522 Mon Sep 17 00:00:00 2001
From: XhmikosR
Date: Fri, 11 Aug 2017 16:50:08 +0300
Subject: Fix JavaScript case and a typo. (#23320)
---
docs/4.0/getting-started/javascript.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/javascript.md b/docs/4.0/getting-started/javascript.md
index 92891a2ab..b33789b72 100644
--- a/docs/4.0/getting-started/javascript.md
+++ b/docs/4.0/getting-started/javascript.md
@@ -119,6 +119,6 @@ Bootstrap's plugins don't fall back particularly gracefully when JavaScript is d
## Util
-All Bootstrap Javascript depend on `util.js` and it has to be included alongside the other JS files. If you're using the compiled (or minified) `bootstrap.js`, there is no need to include this—it's already there.
+All Bootstrap's JavaScript files depend on `util.js` and it has to be included alongside the other JS files. If you're using the compiled (or minified) `bootstrap.js`, there is no need to include this—it's already there.
`util.js` includes utility functions and a basic helper for `transitionEnd` events as well as a CSS transition emulator. It's used by the other plugins to check for CSS transition support and to catch hanging transitions.
--
cgit v1.2.3
From 6a5a38106ac518f0cd493901aac69c38e216944d Mon Sep 17 00:00:00 2001
From: Chirag Modi
Date: Fri, 11 Aug 2017 20:10:41 +0530
Subject: Fix broken links in doc (#23324)
---
docs/4.0/getting-started/options.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/options.md b/docs/4.0/getting-started/options.md
index 4788c847a..0b83c47f8 100644
--- a/docs/4.0/getting-started/options.md
+++ b/docs/4.0/getting-started/options.md
@@ -27,7 +27,7 @@ You can find and customize these variables for key global options in our `_varia
| Variable | Values | Description |
| --------------------------- | ---------------------------------- | -------------------------------------------------------------------------------------- |
-| `$spacer` | `1rem` (default), or any value > 0 | Specifies the default spacer value to programmatically generate our [spacer utilities](/utilities/spacing/). |
+| `$spacer` | `1rem` (default), or any value > 0 | Specifies the default spacer value to programmatically generate our [spacer utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/spacing/). |
| `$enable-rounded` | `true` (default) or `false` | Enables predefined `border-radius` styles on various components. |
| `$enable-shadows` | `true` or `false` (default) | Enables predefined `box-shadow` styles on various components. |
| `$enable-gradients` | `true` or `false` (default) | Enables predefined gradients via `background-image` styles on various components. |
--
cgit v1.2.3
From 716e1247bf70d2fb57065179846fe1d423ace369 Mon Sep 17 00:00:00 2001
From: Steven Black
Date: Fri, 11 Aug 2017 11:50:03 -0400
Subject: =?UTF-8?q?=E2=80=9CSass=E2=80=9D=20is=20standard=20in=20text=20an?=
=?UTF-8?q?d=20headings.=20(#23328)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
docs/4.0/getting-started/webpack.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/webpack.md b/docs/4.0/getting-started/webpack.md
index ec748c48e..d1a40cfed 100644
--- a/docs/4.0/getting-started/webpack.md
+++ b/docs/4.0/getting-started/webpack.md
@@ -51,7 +51,7 @@ Notice that if you chose to **import plugins individually**, you must also insta
## Importing Styles
-### Importing Precompiled SASS
+### Importing Precompiled Sass
To enjoy the full potential of Bootstrap and customize it to your needs, use the source files as a part of your project's bundling process.
--
cgit v1.2.3
From ea854233b70a4420d20eaacf507865f395134cae Mon Sep 17 00:00:00 2001
From: Patrick Yeo
Date: Mon, 14 Aug 2017 09:28:16 -0700
Subject: v4 docs Add description for global variable `$enable-caret`
---
docs/4.0/getting-started/options.md | 1 +
1 file changed, 1 insertion(+)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/options.md b/docs/4.0/getting-started/options.md
index 0b83c47f8..2a9fb5ca8 100644
--- a/docs/4.0/getting-started/options.md
+++ b/docs/4.0/getting-started/options.md
@@ -28,6 +28,7 @@ You can find and customize these variables for key global options in our `_varia
| Variable | Values | Description |
| --------------------------- | ---------------------------------- | -------------------------------------------------------------------------------------- |
| `$spacer` | `1rem` (default), or any value > 0 | Specifies the default spacer value to programmatically generate our [spacer utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/spacing/). |
+| `$enable-caret` | `true` (default) or `false` | Enables pseudo element caret on `.dropdown-toggle`. |
| `$enable-rounded` | `true` (default) or `false` | Enables predefined `border-radius` styles on various components. |
| `$enable-shadows` | `true` or `false` (default) | Enables predefined `box-shadow` styles on various components. |
| `$enable-gradients` | `true` or `false` (default) | Enables predefined gradients via `background-image` styles on various components. |
--
cgit v1.2.3
From 2564ee98a6272ef527d563e158e8f19224b7d2d3 Mon Sep 17 00:00:00 2001
From: Cory Becker
Date: Mon, 14 Aug 2017 11:45:54 -0500
Subject: Remove apostrophe
---
docs/4.0/getting-started/download.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/download.md b/docs/4.0/getting-started/download.md
index 0edee619b..29d09a5c5 100644
--- a/docs/4.0/getting-started/download.md
+++ b/docs/4.0/getting-started/download.md
@@ -24,7 +24,7 @@ Compile Bootstrap with your own asset pipeline by downloading our source Sass, J
- Sass compiler (Libsass or Ruby Sass is supported) for compiling your CSS.
- [Autoprefixer](https://github.com/postcss/autoprefixer) for CSS vendor prefixing
-Should you require [build tools]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/build-tools/#tooling-setup), they are included for developing Bootstrap and it's docs, but they're likely unsuitable for your own purposes.
+Should you require [build tools]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/build-tools/#tooling-setup), they are included for developing Bootstrap and its docs, but they're likely unsuitable for your own purposes.
Download source
--
cgit v1.2.3
From 1b959642919e8e5fa592509cdd62dfa3e92f2aba Mon Sep 17 00:00:00 2001
From: XhmikosR
Date: Wed, 16 Aug 2017 18:52:24 +0300
Subject: browsers-devices.md: fix typo. (#23495)
---
docs/4.0/getting-started/browsers-devices.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/browsers-devices.md b/docs/4.0/getting-started/browsers-devices.md
index b5a6cc763..6ecec961b 100644
--- a/docs/4.0/getting-started/browsers-devices.md
+++ b/docs/4.0/getting-started/browsers-devices.md
@@ -1,7 +1,7 @@
---
layout: docs
title: Browsers and devices
-description: Learn about the browsers and devices, from modern to told, that are supported by Bootstrap, including known quirks and bugs for each.
+description: Learn about the browsers and devices, from modern to old, that are supported by Bootstrap, including known quirks and bugs for each.
group: getting-started
toc: true
---
--
cgit v1.2.3
From c770e6883695e8b5d92a1107d3a49b1cb63655b6 Mon Sep 17 00:00:00 2001
From: Tanguy Krotoff
Date: Tue, 5 Sep 2017 00:29:05 +0200
Subject: Drop Bower support (#23568)
---
docs/4.0/getting-started/download.md | 10 +---------
docs/4.0/getting-started/javascript.md | 2 +-
2 files changed, 2 insertions(+), 10 deletions(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/download.md b/docs/4.0/getting-started/download.md
index 29d09a5c5..a5a586e9c 100644
--- a/docs/4.0/getting-started/download.md
+++ b/docs/4.0/getting-started/download.md
@@ -1,7 +1,7 @@
---
layout: docs
title: Download
-description: Download Bootstrap to get the compiled CSS and JavaScript, source code, or include it with your favorite package managers like npm, Bower, RubyGems, and more.
+description: Download Bootstrap to get the compiled CSS and JavaScript, source code, or include it with your favorite package managers like npm, RubyGems, and more.
group: getting-started
toc: true
---
@@ -87,14 +87,6 @@ You can also install and manage Bootstrap's Sass and JavaScript using [Composer]
composer require twbs/bootstrap:{{ site.current_version }}
{% endhighlight %}
-### Bower
-
-Install and manage Bootstrap's Sass and JavaScript using [Bower](https://bower.io).
-
-{% highlight bash %}
-bower install bootstrap#v{{ site.current_version }}
-{% endhighlight %}
-
### NuGet
If you develop in .NET, you can also install and manage Bootstrap's [CSS](https://www.nuget.org/packages/bootstrap/) or [Sass](https://www.nuget.org/packages/bootstrap.sass/) and JavaScript using [NuGet](https://www.nuget.org):
diff --git a/docs/4.0/getting-started/javascript.md b/docs/4.0/getting-started/javascript.md
index b33789b72..12e7f89ca 100644
--- a/docs/4.0/getting-started/javascript.md
+++ b/docs/4.0/getting-started/javascript.md
@@ -12,7 +12,7 @@ Plugins can be included individually (using Bootstrap's individual `*.js` files)
## Dependencies
-Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that **all plugins depend on jQuery** (this means jQuery must be included **before** the plugin files). [Consult our `bower.json`]({{ site.repo }}/blob/v{{ site.current_version }}/bower.json) to see which versions of jQuery are supported.
+Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs. Also note that **all plugins depend on jQuery** (this means jQuery must be included **before** the plugin files). [Consult our `package.json`]({{ site.repo }}/blob/v{{ site.current_version }}/package.json) to see which versions of jQuery are supported.
Our tooltips and popovers also depend on [Popper.js](https://github.com/FezVrasta/popper.js).
--
cgit v1.2.3
From d8881c2f97a082f09fb37ae2c29ccf02e445f320 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Morva=20Krist=C3=B3f?=
Date: Tue, 5 Sep 2017 00:39:00 +0200
Subject: Removing extra bracket in introduction docs. (#23791)
---
docs/4.0/getting-started/introduction.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs/4.0/getting-started')
diff --git a/docs/4.0/getting-started/introduction.md b/docs/4.0/getting-started/introduction.md
index 6423209be..67aa01203 100644
--- a/docs/4.0/getting-started/introduction.md
+++ b/docs/4.0/getting-started/introduction.md
@@ -20,7 +20,7 @@ Copy-paste the stylesheet `` into your `` before all other styleshee
{% endhighlight %}
-Add our optional JavaScript plugins, jQuery, and [Popper.js](https://github.com/FezVrasta/popper.js)) near the end of your pages, right before the closing `` tag. Be sure to place jQuery and Popper.js first, as our JavaScript plugins depend on them. While we use [jQuery's slim build](https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/) in our docs, the full version is also supported.
+Add our optional JavaScript plugins, jQuery, and [Popper.js](https://github.com/FezVrasta/popper.js) near the end of your pages, right before the closing `