aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-10-10 14:20:54 -0700
committerGitHub <[email protected]>2016-10-10 14:20:54 -0700
commit4b27cc95e30fbc7542b7a97396d931e6a1a905f5 (patch)
treeb1712d2b5b6ceda5e4695fdb7e5a664b3620038a /docs
parent259fa88e3e451f4978ba11b8737fa84338376fdb (diff)
parentffdf64eb5308b33313407a28a3ec25700dea40ce (diff)
downloadbootstrap-4b27cc95e30fbc7542b7a97396d931e6a1a905f5.tar.xz
bootstrap-4b27cc95e30fbc7542b7a97396d931e6a1a905f5.zip
Merge pull request #20878 from twbs/downloads-copy
Updated Download docs
Diffstat (limited to 'docs')
-rw-r--r--docs/getting-started/download.md41
-rw-r--r--docs/index.html4
2 files changed, 18 insertions, 27 deletions
diff --git a/docs/getting-started/download.md b/docs/getting-started/download.md
index 9aacf3113..448afcad3 100644
--- a/docs/getting-started/download.md
+++ b/docs/getting-started/download.md
@@ -7,11 +7,26 @@ group: getting-started
**Bootstrap v{{ site.current_version}}** is available for download in several ways, including some of your favorite package managers. Choose from the options below to snag just what you need.
+### Bootstrap 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, flexbox-enabled, grid only, or Reboot only) and JavaScript plugins. Doesn't include documentation or source files.
+
+<a href="{{ site.download.dist }}" class="btn btn-lg btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download Bootstrap');">Download Bootstrap</a>
+
### Source files
-Download everything: source Sass, JavaScript, and documentation files. **Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).**
+**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), [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).
<a href="{{ site.download.source }}" class="btn btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
+### Bootstrap CDN
+
+Skip the download and use the Bootstrap CDN to deliver Bootstrap's compiled CSS and JS to your project.
+
+{% highlight html %}
+<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
+<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script>
+{% 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, [Autoprefixer](https://github.com/postcss/autoprefixer), and [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes)** for a setup that matches our official compiled versions.
@@ -86,27 +101,3 @@ Install-Package bootstrap.sass -Pre
{% endhighlight %}
The `-Pre` is required until Bootstrap v4 has a stable release.
-
-{% comment %}
-## Custom builds
-
-Need only a part of Bootstrap's CSS or JS? Use one of the custom builds to snag just what you need.
-
-<div class="row">
- <div class="col-sm-4">
- <h3>Reboot</h3>
- <p>Includes variables/mixins, Normalize, and Reboot. No JavaScript.</p>
- <a class="btn btn-bs btn-outline" href="#">Download</a>
- </div>
- <div class="col-sm-4">
- <h3>Grid only</h3>
- <p>Includes variables/mixins and our grid system. No JavaScript.</p>
- <a class="btn btn-bs btn-outline" href="#">Download</a>
- </div>
- <div class="col-sm-4">
- <h3>Flexbox</h3>
- <p>All of Bootstrap with flexbox enabled and <strong>lower browser support</strong>.</p>
- <a class="btn btn-bs btn-outline" href="#">Download</a>
- </div>
-</div>
-{% endcomment %}
diff --git a/docs/index.html b/docs/index.html
index 81e71f20c..6ecac7979 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -39,8 +39,8 @@ layout: home
<hr class="half-rule m-t-0">
- <p><strong>Looking for something simpler?</strong> Customized builds of Bootstrap's CSS and JS are also available.</p>
- <a href="{{ site.baseurl }}/getting-started/download/#custom-builds" class="btn btn-bs btn-outline">More download options</a>
+ <p><strong>Looking for something else?</strong> Compiled builds of Bootstrap's CSS and JS are also available.</p>
+ <a href="{{ site.baseurl }}/getting-started/download/" class="btn btn-bs btn-outline">More download options</a>
</div>
</div>