Skip to content

Commit 9dcae61

Browse files
committed
Merge branch '3.0.0-wip' into bs3_homepage
Conflicts: customize.html examples/justified-nav/justified-nav.css
2 parents 578a14e + 5bd2d7e commit 9dcae61

Some content is hidden

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

59 files changed

+3318
-539
lines changed

Gruntfile.js

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ module.exports = function(grunt) {
9797
}
9898
},
9999

100+
copy: {
101+
fonts: {
102+
expand: true,
103+
src: ["fonts/*"],
104+
dest: 'dist/'
105+
}
106+
},
107+
100108
qunit: {
101109
options: {
102110
inject: 'js/tests/unit/phantom.js'
@@ -147,6 +155,7 @@ module.exports = function(grunt) {
147155
grunt.loadNpmTasks('grunt-contrib-clean');
148156
grunt.loadNpmTasks('grunt-contrib-concat');
149157
grunt.loadNpmTasks('grunt-contrib-connect');
158+
grunt.loadNpmTasks('grunt-contrib-copy');
150159
grunt.loadNpmTasks('grunt-contrib-jshint');
151160
grunt.loadNpmTasks('grunt-contrib-qunit');
152161
grunt.loadNpmTasks('grunt-contrib-uglify');
@@ -157,10 +166,10 @@ module.exports = function(grunt) {
157166
grunt.loadNpmTasks('browserstack-runner');
158167

159168
// Docs HTML validation task
160-
grunt.registerTask('validate-docs', ['jekyll', 'validation']);
169+
grunt.registerTask('validate-html', ['jekyll', 'validation']);
161170

162171
// Test task.
163-
var testSubtasks = ['jshint', 'qunit', 'validate-docs'];
172+
var testSubtasks = ['dist-css', 'jshint', 'qunit', 'validate-html'];
164173
// Only run BrowserStack tests under Travis
165174
if (process.env.TRAVIS) {
166175
// Only run BrowserStack tests if this is a mainline commit in twbs/bootstrap, or you have your own BrowserStack key
@@ -176,8 +185,11 @@ module.exports = function(grunt) {
176185
// CSS distribution task.
177186
grunt.registerTask('dist-css', ['recess']);
178187

188+
// Fonts distribution task.
189+
grunt.registerTask('dist-fonts', ['copy']);
190+
179191
// Full distribution task.
180-
grunt.registerTask('dist', ['clean', 'dist-css', 'dist-js']);
192+
grunt.registerTask('dist', ['clean', 'dist-css', 'dist-fonts', 'dist-js']);
181193

182194
// Default task.
183195
grunt.registerTask('default', ['test', 'dist', 'build-customizer']);

_config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ repo: https://github.com/twbs/bootstrap
1515
download: https://github.com/twbs/bootstrap/archive/v3.0.0.zip
1616
download_dist: https://github.com/twbs/bootstrap/releases/download/v3.0.0/bootstrap-3.0.0-dist.zip
1717

18-
glyphicons: http://glyphicons.getbootstrap.com
19-
glyphicons_repo: https://github.com/twbs/bootstrap-glyphicons
20-
2118
blog: http://blog.getbootstrap.com
2219
expo: http://expo.getbootstrap.com
2320

_includes/footer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<script src="{{ page.base_url }}assets/js/less.js"></script>
1414
<script src="{{ page.base_url }}assets/js/jszip.js"></script>
1515
<script src="{{ page.base_url }}assets/js/uglify.js"></script>
16+
<script src="{{ page.base_url }}assets/js/filesaver.js"></script>
1617
<script src="{{ page.base_url }}assets/js/customizer.js"></script>
1718
{% endif %}
1819

_includes/nav-components.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<li>
2+
<a href="#glyphicons">Glyphicons</a>
3+
<ul class="nav">
4+
<li><a href="#glyphicons-glyphs">Available glyphs</a></li>
5+
<li><a href="#glyphicons-how-to-use">How to use</a></li>
6+
<li><a href="#glyphicons-examples">Examples</a></li>
7+
</ul>
8+
</li>
19
<li>
210
<a href="#dropdowns">Dropdowns</a>
311
<ul class="nav">

_includes/nav-css.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
<li><a href="#overview-container">Containers</a></li>
1010
</ul>
1111
</li>
12-
<li>
13-
<a href="#glyphicons">Glyphicons</a>
14-
</li>
1512
<li>
1613
<a href="#grid">Grid system</a>
1714
<ul class="nav">

_includes/nav-getting-started.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@
1818
<li>
1919
<a href="#disable-responsive">Disabling responsiveness</a>
2020
</li>
21+
<li>
22+
<a href="#migration">Migrating from 2.x to 3.0</a>
23+
<ul class="nav">
24+
<li><a href="#migration-classes">Major class changes</a></li>
25+
<li><a href="#migration-new">What's new</a></li>
26+
<li><a href="#migration-dropped">What's removed</a></li>
27+
<li><a href="#migration-notes">Additional notes</a></li>
28+
</ul>
29+
</li>
2130
<li>
2231
<a href="#browsers">Browser support</a>
2332
</li>

_layouts/home.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
<a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a>
2424
</li>
2525
<li>
26-
<a href="{{ page.base_url }}getting-started#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
26+
<a href="{{ page.base_url }}getting-started/#examples" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a>
2727
</li>
2828
<li>
29-
<a href="{{ site.glyphicons }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a>
29+
<a href="{{ page.base_url }}components/#glyphicons" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a>
3030
</li>
3131
<li>
3232
<a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Expo</a>
-1.9 KB
Loading
-2.1 KB
Loading
-1.33 KB
Loading

0 commit comments

Comments
 (0)