diff --git a/Gruntfile.js b/Gruntfile.js index 8c0eb3af2c..ff85fd9cd9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -145,6 +145,10 @@ module.exports = function (grunt) { dest: 'dist/js/<%= pkg.name %>.js' }, /* boosted mod */ + vendorsCss: { + src: ['dist/css/boosted.css', 'bower_components/slick-carousel/slick/slick.css'], + dest: 'dist/css/boosted.css' + }, rtlCss: { src: ['dist/css/boosted-rtl.css', 'dist/css/o-rtl.css'], dest: 'dist/css/boosted-rtl.css' @@ -226,8 +230,9 @@ module.exports = function (grunt) { }, vendorsjs: { expand: true, - cwd: 'bower_components/jquery.tablesorter/dist/js/', - src: ['*'], + flatten: true, + cwd: 'bower_components/', + src: ['jquery.tablesorter/dist/js/jquery.tablesorter.min.js', 'slick-carousel/slick/slick.min.js'], dest: 'dist/js/vendors/' /* end mod */ } @@ -573,10 +578,10 @@ module.exports = function (grunt) { grunt.registerTask('test-scss', ['exec:scss-lint']) - // CSS distribution task. + // CSS distribution task. grunt.registerTask('sass-compile', ['exec:sass', 'exec:sass-docs']) - grunt.registerTask('dist-css', ['sass-compile', 'exec:postcss', 'rtlcss', 'concat:rtlCss', 'exec:clean-css', 'exec:clean-css-docs']) + grunt.registerTask('dist-css', ['sass-compile', 'exec:postcss', 'concat:vendorsCss', 'rtlcss', 'concat:rtlCss', 'exec:clean-css', 'exec:clean-css-docs']) // Full distribution task. /* boosted mod */ @@ -589,8 +594,8 @@ module.exports = function (grunt) { grunt.registerTask('docs-css', ['exec:sass-docs','exec:clean-css-docs', 'exec:postcss-docs']) grunt.registerTask('lint-docs-css', ['exec:scss-lint-docs']) /* boosted mod */ - grunt.registerTask('docs-js', ['concat:docsJs', 'exec:uglify-docs']) - grunt.registerTask('docs', ['copy:tmpdocs','lint-docs-css','docs-css', 'docs-js', 'clean:docs', 'copy:rtl', 'replace:rtl','copy:docs', 'jekyll:docs', 'replace']) + grunt.registerTask('docs-js', ['concat:docsJs', 'exec:uglify-docs']) + grunt.registerTask('docs', ['copy:tmpdocs', 'lint-docs-css', 'docs-css', 'docs-js', 'clean:docs', 'copy:rtl', 'replace:rtl','copy:docs', 'jekyll:docs', 'replace']) /* end mod */ grunt.registerTask('docs-github', ['jekyll:github']) diff --git a/bower.json b/bower.json index 02df9c0e7a..359212750d 100644 --- a/bower.json +++ b/bower.json @@ -34,7 +34,8 @@ "tether": "^1.3.7" }, "devDependencies": { - "jquery.tablesorter": "~2.25.0" + "jquery.tablesorter": "~2.25.0", + "slick-carousel": "^1.6.0" }, "author": { "name": "Orange SA" diff --git a/docs-orange/_includes/footer.html b/docs-orange/_includes/footer.html index b441a252ca..67a86c1058 100644 --- a/docs-orange/_includes/footer.html +++ b/docs-orange/_includes/footer.html @@ -11,9 +11,9 @@

footer - site map & informations