From 362dc3a081cc63a85f7fdb8939e43a2c8b803b60 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 15 Dec 2015 23:49:53 -0800 Subject: [PATCH] README: Promote "Configuration" section to an

This moves it out from under the "Installation" section. * The "Installation" section is already pretty long * The line under `

`s in GitHub Markdown helps clarify that it's not a subsection of the "Bower" or "Node.js Mincer" sections * Installation and configuration are arguably separate topics --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 290139ad..24365069 100644 --- a/README.md +++ b/README.md @@ -182,9 +182,9 @@ $ npm install bootstrap-sass ``` -### Configuration +## Configuration -#### Sass +### Sass By default all of Bootstrap is imported. @@ -197,18 +197,18 @@ In the application Sass file, replace `@import 'bootstrap'` with: @import 'bootstrap-custom'; ``` -#### Sass: Number Precision +### Sass: Number Precision bootstrap-sass [requires](https://github.com/twbs/bootstrap-sass/issues/409) minimum [Sass number precision][sass-precision] of 8 (default is 5). Precision is set for Rails and Compass automatically. -When using ruby Sass compiler standalone or with the Bower version you can set it with: +When using Ruby Sass compiler standalone or with the Bower version you can set it with: ```ruby ::Sass::Script::Value::Number.precision = [8, ::Sass::Script::Value::Number.precision].max ``` -#### Sass: Autoprefixer +### Sass: Autoprefixer Bootstrap requires the use of [Autoprefixer][autoprefixer]. [Autoprefixer][autoprefixer] adds vendor prefixes to CSS rules using values from [Can I Use](http://caniuse.com/). @@ -227,7 +227,7 @@ To match [upstream Bootstrap's level of browser compatibility](http://getbootstr ] ``` -#### JavaScript +### JavaScript [`assets/javascripts/bootstrap.js`](/assets/javascripts/bootstrap.js) contains all of Bootstrap's JavaScript, concatenated in the [correct order](/assets/javascripts/bootstrap-sprockets.js). @@ -251,7 +251,7 @@ You can check dependencies in the [Bootstrap JS documentation][jsdocs]. //= require bootstrap/dropdown ``` -#### Fonts +### Fonts The fonts are referenced as: