Skip to content

Commit

Permalink
README: Promote "Configuration" section to an <h2>
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cvrebert committed Dec 16, 2015
1 parent 70f6d4d commit 362dc3a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ $ npm install bootstrap-sass
```
### Configuration
## Configuration
#### Sass
### Sass
By default all of Bootstrap is imported.
Expand All @@ -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/).
Expand All @@ -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).
Expand All @@ -251,7 +251,7 @@ You can check dependencies in the [Bootstrap JS documentation][jsdocs].
//= require bootstrap/dropdown
```
#### Fonts
### Fonts
The fonts are referenced as:
Expand Down

0 comments on commit 362dc3a

Please sign in to comment.