From 960cbe61624eb7dfcd9bf44b92ffff79aec0349c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 9 Jun 2015 16:09:33 -0700 Subject: [PATCH] some download changes --- docs/getting-started/download.md | 44 ++++++++++++++++++-------------- docs/getting-started/index.md | 4 +++ 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/docs/getting-started/download.md b/docs/getting-started/download.md index fdb4d8d834..224a2d12da 100644 --- a/docs/getting-started/download.md +++ b/docs/getting-started/download.md @@ -10,23 +10,27 @@ Bootstrap is available for download via ZIP file in two flavors: precompiled CSS * Will be replaced with the ToC, excluding the "Contents" header {:toc} -{% comment %} -## Optional builds +## Custom builds -### Scaffolding only -Just our global CSS resets, including Normalize and more. No custom CSS components or JavaScript. +Need only a part of Bootstrap's CSS or JS? Use one of the custom builds to snag just what you need. -### Grid only -Literally just our grid container and columns. No global CSS resets, custom CSS components, or JavaScript. - -### Individual components -Choose what CSS and JS components to download and customize further for your own use. Include the global CSS resets. - -### Kitchen sink -Download the entire project and quickly get developing. Includes all CSS and JavaScript, including the source files and basic build tools. - ---- -{% endcomment %} +
+
+

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 support enabled and lower browser support.

+ Download +
+
## Precompiled @@ -40,13 +44,15 @@ Source Sass, JavaScript, and documentation. **Requires a Sass compiler and [some Download source -## Bower +## Package managers + +### Bower You can also install and manage Bootstrap's Sass, CSS, and JavaScript using [Bower](http://bower.io). {% highlight bash %}$ bower install bootstrap{% endhighlight %} -## npm +### npm Bootstrap is available as [an npm package](https://www.npmjs.org/package/bootstrap). Install it into your Node powered apps with: @@ -59,13 +65,13 @@ Bootstrap's `package.json` contains some additional metadata under the following - `less` - path to Bootstrap's main [Less](http://lesscss.org) source file - `style` - path to Bootstrap's non-minified CSS that's been precompiled using the default settings (no customization) -## Meteor +### Meteor {% highlight bash %} $ meteor add twbs:bootstrap {% endhighlight %} -## Composer +### Composer {% highlight bash %} $ composer require twbs/bootstrap diff --git a/docs/getting-started/index.md b/docs/getting-started/index.md index fafcf34187..6127f38736 100644 --- a/docs/getting-started/index.md +++ b/docs/getting-started/index.md @@ -5,6 +5,8 @@ title: Getting started Quickly add Bootstrap to your project via the [Bootstrap CDN](http://bootstrapcdn.com), graciously provided by the [MaxCDN](http://www.maxcdn.com/) folks. +## Include CSS and JS + Copy-paste the stylesheet `` into your `` before all other stylesheets.
@@ -22,6 +24,8 @@ Then, add the Bootstrap JavaScript—and jQuery—near the end of your pages. It {% endhighlight %} +## Page template + Be sure to have your pages set up with the latest design and development standards. That means: * Using an HTML5 doctype