diff options
-rw-r--r-- | Gruntfile.js | 16 | ||||
-rw-r--r-- | _config.yml | 1 | ||||
-rw-r--r-- | docs/assets/css/src/docs.css (renamed from docs/assets/css/docs.css) | 0 | ||||
-rw-r--r-- | docs/assets/css/src/pygments-manni.css (renamed from docs/assets/css/pygments-manni.css) | 0 | ||||
-rw-r--r-- | docs/assets/js/src/application.js (renamed from docs/assets/js/application.js) | 0 | ||||
-rw-r--r-- | docs/assets/js/src/customizer.js (renamed from docs/assets/js/customizer.js) | 0 | ||||
-rw-r--r-- | docs/assets/js/src/ie8-responsive-file-warning.js (renamed from docs/assets/js/ie8-responsive-file-warning.js) | 5 |
7 files changed, 12 insertions, 10 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 08664d1ca0..07eed217bc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -56,7 +56,7 @@ module.exports = function (grunt) { src: 'js/tests/unit/*.js' }, assets: { - src: ['docs/assets/js/application.js', 'docs/assets/js/customizer.js'] + src: 'docs/assets/js/src/*.js' } }, @@ -98,7 +98,7 @@ module.exports = function (grunt) { 'ids': false, 'overqualified-elements': false }, - src: ['docs/assets/css/docs.css'] + src: 'docs/assets/css/src/docs.css' } }, @@ -148,7 +148,7 @@ module.exports = function (grunt) { 'docs/assets/js/vendor/blob.js', 'docs/assets/js/vendor/filesaver.js', 'docs/assets/js/raw-files.min.js', - 'docs/assets/js/customizer.js' + 'docs/assets/js/src/customizer.js' ], dest: 'docs/assets/js/customize.min.js' }, @@ -158,7 +158,7 @@ module.exports = function (grunt) { }, src: [ 'docs/assets/js/vendor/holder.js', - 'docs/assets/js/application.js' + 'docs/assets/js/src/application.js' ], dest: 'docs/assets/js/docs.min.js' } @@ -246,8 +246,8 @@ module.exports = function (grunt) { compatibility: 'ie8' }, src: [ - 'docs/assets/css/docs.css', - 'docs/assets/css/pygments-manni.css' + 'docs/assets/css/src/docs.css', + 'docs/assets/css/src/pygments-manni.css' ], dest: 'docs/assets/css/docs.min.css' } @@ -286,12 +286,12 @@ module.exports = function (grunt) { examples: { expand: true, cwd: 'docs/examples/', - src: ['**/*.css'], + src: '**/*.css', dest: 'docs/examples/' }, docs: { files: { - 'docs/assets/css/docs.css': 'docs/assets/css/docs.css' + 'docs/assets/css/src/docs.css': 'docs/assets/css/src/docs.css' } } }, diff --git a/_config.yml b/_config.yml index d2e1934d8c..c232639585 100644 --- a/_config.yml +++ b/_config.yml @@ -16,6 +16,7 @@ encoding: UTF-8 exclude: - "jade" + - "src" - "vendor" # Custom vars diff --git a/docs/assets/css/docs.css b/docs/assets/css/src/docs.css index aba85096b3..aba85096b3 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/src/docs.css diff --git a/docs/assets/css/pygments-manni.css b/docs/assets/css/src/pygments-manni.css index 1b3c92cb27..1b3c92cb27 100644 --- a/docs/assets/css/pygments-manni.css +++ b/docs/assets/css/src/pygments-manni.css diff --git a/docs/assets/js/application.js b/docs/assets/js/src/application.js index 678c6eace4..678c6eace4 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/src/application.js diff --git a/docs/assets/js/customizer.js b/docs/assets/js/src/customizer.js index a0e4a28d19..a0e4a28d19 100644 --- a/docs/assets/js/customizer.js +++ b/docs/assets/js/src/customizer.js diff --git a/docs/assets/js/ie8-responsive-file-warning.js b/docs/assets/js/src/ie8-responsive-file-warning.js index 3eee8adaa4..986e8b6578 100644 --- a/docs/assets/js/ie8-responsive-file-warning.js +++ b/docs/assets/js/src/ie8-responsive-file-warning.js @@ -8,5 +8,6 @@ * details, see http://creativecommons.org/licenses/by/3.0/. */ // Intended to prevent false-positive bug reports about responsive styling supposedly not working in IE8. -if (window.location.protocol == 'file:') - alert("ERROR: Bootstrap's responsive CSS is disabled!\nSee getbootstrap.com/getting-started/#respond-file-proto for details.") +if (window.location.protocol == 'file:') { + alert('ERROR: Bootstrap\'s responsive CSS is disabled!\nSee getbootstrap.com/getting-started/#respond-file-proto for details.') +} |