diff --git a/Gruntfile.js b/Gruntfile.js index f71c101d..8a8a2b07 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -281,13 +281,12 @@ module.exports = function (grunt) { ], dest: 'docs/assets/js/vendor/' }, - 'bs-docs-plugins': { - expand: true, - cwd: '../bootstrap/docs/_plugins', - src: ['**/*', '!bridge.rb'], - dest: 'docs/_plugins/' - }, - + //'bs-docs-plugins': { + // expand: true, + // cwd: '../bootstrap/docs/_plugins', + // src: ['**/*', '!bridge.rb'], + // dest: 'docs/_plugins/' + //}, //'bs-docs-scss': { // options: { // // https://regex101.com/r/hG8lU4/1 diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 5287ba62..ab13a25d 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -185,16 +185,22 @@ let bsDocs = [ task: {name: 'copy:bs-docs-scss'}, source: { options: {cwd: '../bootstrap/docs/assets/scss'}, - glob: [ - '**/*', - '!docs.scss' // keep variable customizations - ] + glob: ['**/*', '!docs.scss'] // keep variable customizations }, dest: 'docs/assets/scss/', process: (content, srcpath) => { return content.replace(/([\s\S]+)/mg, '// DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by gulp docs:copy-bs\n\n$1'); } }), + + new Copy(gulp, docsPreset, docsConfig, { + task: {name: 'copy:bs-docs-plugins'}, + source: { + options: {cwd: '../bootstrap/docs/_plugins'}, + glob: ['**/*', '!bridge.rb'] + }, + dest: 'docs/_plugins/' + }), ]