README: Promote "Configuration" section to an <h2>

This moves it out from under the "Installation" section.
* The "Installation" section is already pretty long
* The line under `<h2>`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
This commit is contained in:
Chris Rebert 2015-12-15 23:49:53 -08:00
Родитель 70f6d4de61
Коммит 362dc3a081
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -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: