From 8ae48183b236d4db104fa165b8aea762d70b9d67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Mon, 24 Mar 2014 21:47:59 +0100 Subject: [PATCH] Fix #13138: use underscore prefix to ignore directories --- Gruntfile.js | 32 +++++++++---------- _config.yml | 5 --- docs/{jade => _jade}/customizer-nav.jade | 0 .../{jade => _jade}/customizer-variables.jade | 0 docs/assets/css/{src => _src}/docs.css | 0 .../css/{src => _src}/pygments-manni.css | 0 docs/assets/js/{src => _src}/application.js | 0 docs/assets/js/{src => _src}/customizer.js | 0 docs/assets/js/{vendor => _vendor}/blob.js | 0 .../js/{vendor => _vendor}/filesaver.js | 0 docs/assets/js/{vendor => _vendor}/holder.js | 0 .../js/{vendor => _vendor}/jszip.min.js | 0 .../assets/js/{vendor => _vendor}/less.min.js | 0 .../js/{vendor => _vendor}/uglify.min.js | 0 14 files changed, 16 insertions(+), 21 deletions(-) rename docs/{jade => _jade}/customizer-nav.jade (100%) rename docs/{jade => _jade}/customizer-variables.jade (100%) rename docs/assets/css/{src => _src}/docs.css (100%) rename docs/assets/css/{src => _src}/pygments-manni.css (100%) rename docs/assets/js/{src => _src}/application.js (100%) rename docs/assets/js/{src => _src}/customizer.js (100%) rename docs/assets/js/{vendor => _vendor}/blob.js (100%) rename docs/assets/js/{vendor => _vendor}/filesaver.js (100%) rename docs/assets/js/{vendor => _vendor}/holder.js (100%) rename docs/assets/js/{vendor => _vendor}/jszip.min.js (100%) rename docs/assets/js/{vendor => _vendor}/less.min.js (100%) rename docs/assets/js/{vendor => _vendor}/uglify.min.js (100%) diff --git a/Gruntfile.js b/Gruntfile.js index b4438e89d3..bf57054540 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/src/*.js' + src: 'docs/assets/js/_src/*.js' } }, @@ -122,13 +122,13 @@ module.exports = function (grunt) { preserveComments: 'some' }, src: [ - 'docs/assets/js/vendor/less.min.js', - 'docs/assets/js/vendor/jszip.min.js', - 'docs/assets/js/vendor/uglify.min.js', - 'docs/assets/js/vendor/blob.js', - 'docs/assets/js/vendor/filesaver.js', + 'docs/assets/js/_vendor/less.min.js', + 'docs/assets/js/_vendor/jszip.min.js', + 'docs/assets/js/_vendor/uglify.min.js', + 'docs/assets/js/_vendor/blob.js', + 'docs/assets/js/_vendor/filesaver.js', 'docs/assets/js/raw-files.min.js', - 'docs/assets/js/src/customizer.js' + 'docs/assets/js/_src/customizer.js' ], dest: 'docs/assets/js/customize.min.js' }, @@ -137,8 +137,8 @@ module.exports = function (grunt) { preserveComments: 'some' }, src: [ - 'docs/assets/js/vendor/holder.js', - 'docs/assets/js/src/application.js' + 'docs/assets/js/_vendor/holder.js', + 'docs/assets/js/_src/application.js' ], dest: 'docs/assets/js/docs.min.js' } @@ -206,7 +206,7 @@ module.exports = function (grunt) { src: 'dist/css/<%= pkg.name %>-theme.css' }, docs: { - src: 'docs/assets/css/src/docs.css' + src: 'docs/assets/css/_src/docs.css' }, examples: { expand: true, @@ -240,7 +240,7 @@ module.exports = function (grunt) { ids: false, 'overqualified-elements': false }, - src: 'docs/assets/css/src/docs.css' + src: 'docs/assets/css/_src/docs.css' } }, @@ -253,8 +253,8 @@ module.exports = function (grunt) { }, docs: { src: [ - 'docs/assets/css/src/docs.css', - 'docs/assets/css/src/pygments-manni.css' + 'docs/assets/css/_src/docs.css', + 'docs/assets/css/_src/pygments-manni.css' ], dest: 'docs/assets/css/docs.min.css' } @@ -288,7 +288,7 @@ module.exports = function (grunt) { }, docs: { files: { - 'docs/assets/css/src/docs.css': 'docs/assets/css/src/docs.css' + 'docs/assets/css/_src/docs.css': 'docs/assets/css/_src/docs.css' } } }, @@ -336,8 +336,8 @@ module.exports = function (grunt) { } }, files: { - 'docs/_includes/customizer-variables.html': 'docs/jade/customizer-variables.jade', - 'docs/_includes/nav/customize.html': 'docs/jade/customizer-nav.jade' + 'docs/_includes/customizer-variables.html': 'docs/_jade/customizer-variables.jade', + 'docs/_includes/nav/customize.html': 'docs/_jade/customizer-nav.jade' } } }, diff --git a/_config.yml b/_config.yml index b1cf0caefa..5aa95016c6 100644 --- a/_config.yml +++ b/_config.yml @@ -14,11 +14,6 @@ baseurl: / url: http://getbootstrap.com encoding: UTF-8 -exclude: - - jade - - src - - vendor - # Custom vars current_version: 3.1.1 repo: https://github.com/twbs/bootstrap diff --git a/docs/jade/customizer-nav.jade b/docs/_jade/customizer-nav.jade similarity index 100% rename from docs/jade/customizer-nav.jade rename to docs/_jade/customizer-nav.jade diff --git a/docs/jade/customizer-variables.jade b/docs/_jade/customizer-variables.jade similarity index 100% rename from docs/jade/customizer-variables.jade rename to docs/_jade/customizer-variables.jade diff --git a/docs/assets/css/src/docs.css b/docs/assets/css/_src/docs.css similarity index 100% rename from docs/assets/css/src/docs.css rename to docs/assets/css/_src/docs.css diff --git a/docs/assets/css/src/pygments-manni.css b/docs/assets/css/_src/pygments-manni.css similarity index 100% rename from docs/assets/css/src/pygments-manni.css rename to docs/assets/css/_src/pygments-manni.css diff --git a/docs/assets/js/src/application.js b/docs/assets/js/_src/application.js similarity index 100% rename from docs/assets/js/src/application.js rename to docs/assets/js/_src/application.js diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/_src/customizer.js similarity index 100% rename from docs/assets/js/src/customizer.js rename to docs/assets/js/_src/customizer.js diff --git a/docs/assets/js/vendor/blob.js b/docs/assets/js/_vendor/blob.js similarity index 100% rename from docs/assets/js/vendor/blob.js rename to docs/assets/js/_vendor/blob.js diff --git a/docs/assets/js/vendor/filesaver.js b/docs/assets/js/_vendor/filesaver.js similarity index 100% rename from docs/assets/js/vendor/filesaver.js rename to docs/assets/js/_vendor/filesaver.js diff --git a/docs/assets/js/vendor/holder.js b/docs/assets/js/_vendor/holder.js similarity index 100% rename from docs/assets/js/vendor/holder.js rename to docs/assets/js/_vendor/holder.js diff --git a/docs/assets/js/vendor/jszip.min.js b/docs/assets/js/_vendor/jszip.min.js similarity index 100% rename from docs/assets/js/vendor/jszip.min.js rename to docs/assets/js/_vendor/jszip.min.js diff --git a/docs/assets/js/vendor/less.min.js b/docs/assets/js/_vendor/less.min.js similarity index 100% rename from docs/assets/js/vendor/less.min.js rename to docs/assets/js/_vendor/less.min.js diff --git a/docs/assets/js/vendor/uglify.min.js b/docs/assets/js/_vendor/uglify.min.js similarity index 100% rename from docs/assets/js/vendor/uglify.min.js rename to docs/assets/js/_vendor/uglify.min.js