Skip to content

Commit 5b02dbd

Browse files
committed
Merge branch 'master' into docs_derp
Conflicts: _config.yml
2 parents 12980e7 + 201088c commit 5b02dbd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+845
-338
lines changed

.csscomb.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"-webkit-box-sizing",
3434
"-moz-box-sizing",
3535
"box-sizing",
36+
"-webkit-appearance",
3637
"padding",
3738
"padding-top",
3839
"padding-right",
@@ -46,8 +47,10 @@
4647
"overflow",
4748
"overflow-x",
4849
"overflow-y",
50+
"-webkit-overflow-scrolling",
4951
"-ms-overflow-x",
5052
"-ms-overflow-y",
53+
"-ms-overflow-style",
5154
"clip",
5255
"clear",
5356
"font",
@@ -124,18 +127,20 @@
124127
"-webkit-user-select",
125128
"-moz-user-select",
126129
"-ms-user-select",
130+
"-o-user-select",
127131
"user-select",
128132
"nav-index",
129133
"nav-up",
130134
"nav-right",
131135
"nav-down",
132136
"nav-left",
133-
"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
134137
"background",
135138
"background-color",
139+
"background-image",
136140
"-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient",
137141
"filter:progid:DXImageTransform.Microsoft.gradient",
138-
"background-image",
142+
"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader",
143+
"filter",
139144
"background-repeat",
140145
"background-attachment",
141146
"background-position",

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ end_of_line = lf
99
charset = utf-8
1010
trim_trailing_whitespace = true
1111
insert_final_newline = true
12+
13+
[*.py]
14+
indent_style = space
15+
indent_size = 4

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ included in the project:
106106
# Clone your fork of the repo into the current directory
107107
git clone https://github.com/<your-username>/bootstrap.git
108108
# Navigate to the newly cloned directory
109-
cd html5-boilerplate
109+
cd bootstrap
110110
# Assign the original repo to a remote called "upstream"
111111
git remote add upstream https://github.com/twbs/bootstrap.git
112112
```

Gruntfile.js

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ module.exports = function (grunt) {
1818
banner: '/*!\n' +
1919
' * Bootstrap v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
2020
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
21-
' * Licensed under MIT (<%= _.pluck(pkg.licenses, "url").join(", ") %>)\n' +
22-
' */\n\n',
21+
' * Licensed under <%= _.pluck(pkg.licenses, "type") %> (<%= _.pluck(pkg.licenses, "url") %>)\n' +
22+
' */\n',
2323
jqueryCheck: 'if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery") }\n\n',
2424

2525
// Task configuration.
@@ -64,12 +64,16 @@ module.exports = function (grunt) {
6464
options: {
6565
csslintrc: '.csslintrc'
6666
},
67-
src: ['dist/css/bootstrap.css', 'dist/css/bootstrap-theme.css']
67+
src: [
68+
'dist/css/bootstrap.css',
69+
'dist/css/bootstrap-theme.css',
70+
'docs-assets/css/docs.css'
71+
]
6872
},
6973

7074
concat: {
7175
options: {
72-
banner: '<%= banner %><%= jqueryCheck %>',
76+
banner: '<%= banner %>\n<%= jqueryCheck %>',
7377
stripBanners: false
7478
},
7579
bootstrap: {
@@ -92,15 +96,24 @@ module.exports = function (grunt) {
9296
},
9397

9498
uglify: {
95-
options: {
96-
banner: '<%= banner %>',
97-
report: 'min'
98-
},
9999
bootstrap: {
100+
options: {
101+
banner: '<%= banner %>\n',
102+
report: 'min'
103+
},
100104
src: ['<%= concat.bootstrap.dest %>'],
101105
dest: 'dist/js/<%= pkg.name %>.min.js'
102106
},
103107
customize: {
108+
options: {
109+
banner: '/*!\n' +
110+
' * Bootstrap Docs (<%= pkg.homepage %>)\n' +
111+
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
112+
' * Licensed under the Creative Commons Attribution 3.0 Unported License. For\n' +
113+
' * details, see http://creativecommons.org/licenses/by/3.0/.\n' +
114+
' */\n',
115+
report: 'min'
116+
},
104117
src: [
105118
'docs-assets/js/less.js',
106119
'docs-assets/js/jszip.js',
@@ -316,9 +329,8 @@ module.exports = function (grunt) {
316329

317330
// Use any line that starts with ".glyphicon-" and capture the class name
318331
var iconClassName = /^\.(glyphicon-[^\s]+)/
319-
var glyphiconsData = '# Generated on ' + (new Date()) + '\n' +
320-
'# **Don\'t edit this directly!**\n' +
321-
'# Look at the \'build-glyphicons-data\' task in Gruntfile.js\n\n';
332+
var glyphiconsData = '# This file is generated via Grunt task. **Do not edit directly.** \n' +
333+
'# See the \'build-glyphicons-data\' task in Gruntfile.js.\n\n';
322334
for (var i = 0, len = glpyhiconsLines.length; i < len; i++) {
323335
var match = glpyhiconsLines[i].match(iconClassName)
324336

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Bootstrap](http://getbootstrap.com) [![Build Status](https://secure.travis-ci.org/twbs/bootstrap.png)](http://travis-ci.org/twbs/bootstrap) [![devDependency Status](https://david-dm.org/twbs/bootstrap/dev-status.png)](https://david-dm.org/twbs/bootstrap#info=devDependencies)
1+
# [Bootstrap](http://getbootstrap.com) [![Build Status](https://secure.travis-ci.org/twbs/bootstrap.png)](http://travis-ci.org/twbs/bootstrap) [![devDependency Status](https://david-dm.org/twbs/bootstrap/dev-status.png?theme=shields.io)](https://david-dm.org/twbs/bootstrap#info=devDependencies)
22
[![Selenium Test Status](https://saucelabs.com/browser-matrix/bootstrap.svg)](https://saucelabs.com/u/bootstrap)
33

44
Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created by [Mark Otto](http://twitter.com/mdo) and [Jacob Thornton](http://twitter.com/fat), and maintained by the [core team](https://github.com/twbs?tab=members) with the massive support and involvement of the community.
@@ -21,7 +21,7 @@ To get started, check out <http://getbootstrap.com>!
2121

2222
Three quick start options are available:
2323

24-
- [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.1.0.zip).
24+
- [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.0.3.zip).
2525
- Clone the repo: `git clone https://github.com/twbs/bootstrap.git`.
2626
- Install with [Bower](http://bower.io): `bower install bootstrap`.
2727

@@ -97,10 +97,10 @@ When completed, you'll be able to run the various Grunt commands provided from t
9797
### Available Grunt commands
9898

9999
#### Build - `grunt`
100-
Run `grunt` to run tests locally and compile the CSS and JavaScript into `/dist`. **Uses [recess](http://twitter.github.io/recess/) and [UglifyJS](http://lisperator.net/uglifyjs/).**
100+
Run `grunt` to run tests locally and compile the CSS and JavaScript into `/dist`. **Uses [Less](http://lesscss.org/) and [UglifyJS](http://lisperator.net/uglifyjs/).**
101101

102102
#### Only compile CSS and JavaScript - `grunt dist`
103-
`grunt dist` creates the `/dist` directory with compiled files. **Uses [recess](http://twitter.github.io/recess/) and [UglifyJS](http://lisperator.net/uglifyjs/).**
103+
`grunt dist` creates the `/dist` directory with compiled files. **Uses [Less](http://lesscss.org/) and [UglifyJS](http://lisperator.net/uglifyjs/).**
104104

105105
#### Tests - `grunt test`
106106
Runs [JSHint](http://jshint.com) and [QUnit](http://qunitjs.com/) tests headlessly in [PhantomJS](http://phantomjs.org/) (used for CI).

_config.yml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,36 @@ permalink: pretty
77

88
# Server
99
destination: ./_gh_pages
10-
exclude: [".editorconfig", ".gitignore", "bower.json", "composer.json", "CONTRIBUTING.md", "CNAME", "LICENSE", "Gruntfile.js", "package.json", "node_modules", "README.md", "less"]
1110
port: 9001
11+
exclude:
12+
- ".editorconfig"
13+
- ".gitignore"
14+
- "bower.json"
15+
- "CNAME"
16+
- "composer.json"
17+
- "CONTRIBUTING.md"
18+
- "DOCS-LICENSE"
19+
- "Gruntfile.js"
20+
- "less"
21+
- "LICENSE"
22+
- "node_modules"
23+
- "package.json"
24+
- "README.md"
25+
- "sauce_browsers.yml"
26+
- "test-infra"
1227

1328
# Custom vars
14-
current_version: 3.1.0
29+
current_version: 3.0.3
1530
repo: https://github.com/twbs/bootstrap
1631

17-
download_source: https://github.com/twbs/bootstrap/archive/v3.1.0.zip
18-
download_dist: https://github.com/twbs/bootstrap/releases/download/v3.1.0/bootstrap-3.1.0-dist.zip
19-
download_sass: https://github.com/twbs/bootstrap-sass/archive/v3.1.0.0.tar.gz
32+
download_source: https://github.com/twbs/bootstrap/archive/v3.0.3.zip
33+
download_dist: https://github.com/twbs/bootstrap/releases/download/v3.0.3/bootstrap-3.0.3-dist.zip
34+
download_sass: https://github.com/twbs/bootstrap-sass/archive/v3.0.3.0.tar.gz
2035

2136
blog: http://blog.getbootstrap.com
2237
expo: http://expo.getbootstrap.com
38+
sass_repo: https://github.com/twbs/bootstrap-sass
2339

24-
cdn_css: //netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css
25-
cdn_theme_css: //netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap-theme.min.css
26-
cdn_js: //netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js
40+
cdn_css: //netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css
41+
cdn_theme_css: //netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css
42+
cdn_js: //netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js

_data/glyphicons.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# Generated on Wed Dec 18 2013 20:14:37 GMT-0800 (PST)
2-
# **Don't edit this directly!**
3-
# Look at the 'build-glyphicons-data' task in Gruntfile.js
1+
# This file is generated via Grunt task. **Do not edit directly.**
2+
# See the 'build-glyphicons-data' task in Gruntfile.js.
43

54
- glyphicon-asterisk
65
- glyphicon-plus

_includes/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
2525
<!--[if lt IE 9]>
2626
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
27-
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
27+
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
2828
<![endif]-->
2929

3030
<!-- Favicons -->
3131
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ page.base_url }}docs-assets/ico/apple-touch-icon-144-precomposed.png">
32-
<link rel="shortcut icon" href="{{ page.base_url }}docs-assets/ico/favicon.png">
32+
<link rel="shortcut icon" href="{{ page.base_url }}docs-assets/ico/favicon.ico">
3333

3434
<script>
3535
var _gaq = _gaq || [];

_includes/nav-about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<a href="#history">History</a>
33
</li>
44
<li>
5-
<a href="#team">Core team</a>
5+
<a href="#team">Team</a>
66
</li>
77
<li>
88
<a href="#community">Community</a>

_includes/nav-css.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,21 @@
110110
</ul>
111111
</li>
112112
<li>
113-
<a href="#less">Using LESS</a>
113+
<a href="#less">Using Less</a>
114114
<ul class="nav">
115115
<li><a href="#less-bootstrap">Compiling Bootstrap</a></li>
116116
<li><a href="#less-variables">Variables</a></li>
117117
<li><a href="#less-mixins-vendor">Vendor mixins</a></li>
118118
<li><a href="#less-mixins-utility">Utility mixins</a></li>
119119
</ul>
120120
</li>
121+
<li>
122+
<a href="#sass">Using Sass</a>
123+
<ul class="nav">
124+
<li><a href="#sass-contents">What's included</a></li>
125+
<li><a href="#sass-installation-rails">Rails install</a></li>
126+
<li><a href="#sass-installation-compass">Compass install</a></li>
127+
<li><a href="#sass-installation-sass-only">Sass install</a></li>
128+
<li><a href="#sass-usage">Usage</a></li>
129+
</ul>
130+
</li>

0 commit comments

Comments
 (0)