From 3786a71d04209edeb687c331bb02f108bff4a9a1 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 6 Dec 2015 01:30:11 -0800 Subject: [PATCH] Grunt: Factor out new docs-github task [skip sauce] [skip validator] --- Gruntfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 4b3e12283e..c01f8a8ea9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -512,8 +512,9 @@ module.exports = function (grunt) { grunt.registerTask('docs-js', ['uglify:docsJs', 'uglify:customize']); grunt.registerTask('lint-docs-js', ['jshint:assets', 'jscs:assets']); grunt.registerTask('docs', ['docs-css', 'lint-docs-css', 'docs-js', 'lint-docs-js', 'clean:docs', 'copy:docs', 'build-glyphicons-data', 'build-customizer']); + 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']); // Task for updating the cached npm packages used by the Travis build (which are controlled by test-infra/npm-shrinkwrap.json). // This task should be run and the updated file should be committed whenever Bootstrap's dependencies change.