From ce22176624117a821926001b55facfd0453382b7 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 9 Aug 2015 22:49:03 -0700 Subject: [PATCH] rewrite downloads page --- docs/getting-started/download.md | 81 ++++++++++++++++---------------- 1 file changed, 41 insertions(+), 40 deletions(-) diff --git a/docs/getting-started/download.md b/docs/getting-started/download.md index e5f3372a79..c718fbc83a 100644 --- a/docs/getting-started/download.md +++ b/docs/getting-started/download.md @@ -4,58 +4,40 @@ title: Download group: getting-started --- -Bootstrap is available for download via ZIP file in two flavors: precompiled CSS and Javascript, and the complete source code with documentation. +**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. -## Contents +
+
+{% markdown %} +### Compiled +Download just the compiled and minified CSS and JavaScript. Doesn't include any documentation or original source files. -* Will be replaced with the ToC, excluding the "Contents" header -{:toc} - -## Custom builds - -Need only a part of Bootstrap's CSS or JS? Use one of the custom builds to snag just what you need. - -
-
-

Reboot

-

Includes variables/mixins, Normalize, and Reboot. No JavaScript.

- Download +Download Bootstrap +{% endmarkdown %}
-
-

Grid only

-

Includes variables/mixins and our grid system. No JavaScript.

- Download -
-
-

Flexbox

-

All of Bootstrap, with flexbox support enabled and lower browser support.

- Download +
+{% markdown %} +### Source files +Download everything: source Sass, JavaScript, and documentation files. **Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), and [some setup](../compiling).** + +Download source +{% endmarkdown %}
-## Precompiled - -Compiled and minified CSS and JavaScript. No docs or original source files are included. - -Download Bootstrap - -## Download source and docs - -Source Sass, JavaScript, and documentation. **Requires a Sass compiler and [some setup](../compiling).** - -Download source - ## 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. + ### Bower -You can also install and manage Bootstrap's Sass, CSS, and JavaScript using [Bower](http://bower.io). +Install and manage Bootstrap's Sass and JavaScript using [Bower](http://bower.io). {% highlight bash %}$ bower install bootstrap{% endhighlight %} ### npm -Bootstrap is available as [an npm package](https://www.npmjs.org/package/bootstrap). Install it into your Node powered apps with: +Install Bootstrap in your Node powered apps with [the npm package](https://www.npmjs.org/package/bootstrap): {% highlight bash %}$ npm install bootstrap{% endhighlight %} @@ -74,12 +56,31 @@ $ meteor add twbs:bootstrap ### Composer -You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using [Composer](https://getcomposer.org): +You can also install and manage Bootstrap's Sass and JavaScript using [Composer](https://getcomposer.org): {% highlight bash %} $ composer require twbs/bootstrap {% endhighlight %} -## Autoprefixer required -Bootstrap uses [Autoprefixer](https://github.com/postcss/autoprefixer) to deal with [CSS vendor prefixes](http://webdesign.about.com/od/css/a/css-vendor-prefixes.htm). If you're compiling Bootstrap from its source Sass and not using our Gruntfile, you'll need to integrate Autoprefixer into your build process yourself. If you're using precompiled Bootstrap or using our Gruntfile, you don't need to worry about this as Autoprefixer is already integrated into our Gruntfile. +## Custom builds + +Need only a part of Bootstrap's CSS or JS? Use one of the custom builds to snag just what you need. + +
+
+

Reboot

+

Includes variables/mixins, Normalize, and Reboot. No JavaScript.

+ Download +
+
+

Grid only

+

Includes variables/mixins and our grid system. No JavaScript.

+ Download +
+
+

Flexbox

+

All of Bootstrap with flexbox enabled and lower browser support.

+ Download +
+