From: Chris Rebert Date: Sun, 6 Dec 2015 20:11:10 +0000 (-0800) Subject: Grunt: Factor out new docs-github task X-Git-Tag: v4.0.0-alpha.2~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=451265bb7618714627153263650e566d8369c74c;p=thirdparty%2Fbootstrap.git Grunt: Factor out new docs-github task Ports #18445 to v4. [skip sauce] [skip validator] --- diff --git a/Gruntfile.js b/Gruntfile.js index 0d0220faeb..0c5091f3a1 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -524,8 +524,9 @@ module.exports = function (grunt) { grunt.registerTask('docs-js', ['uglify:docsJs']); grunt.registerTask('lint-docs-js', ['jscs:assets']); grunt.registerTask('docs', ['docs-css', 'docs-js', 'lint-docs-js', 'clean:docs', 'copy:docs']); + grunt.registerTask('docs-github', ['jekyll:github', 'htmlmin']); - grunt.registerTask('prep-release', ['dist', 'docs', 'jekyll:github', 'htmlmin', 'compress']); + grunt.registerTask('prep-release', ['dist', 'docs', 'docs-github', 'compress']); // Publish to GitHub grunt.registerTask('publish', ['buildcontrol:pages']);