From ca7dfe0932d8e4d7e4ca8877cd708cfa5834d3c8 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Thu, 18 Jul 2019 15:28:27 +0100 Subject: [PATCH] Remove unused doc-related grunt tasks refs: https://github.com/TryGhost/Ghost/commit/585eada1c3444e9e3495b22879aa2a5a098e9756#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 - doc-related tasks were left even though we removed the dep & generation task --- Gruntfile.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 8b9067d6c6..7f6e9fec80 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -343,27 +343,6 @@ const configureGrunt = function (grunt) { grunt.log.writeln('Type `grunt --help` to get the details of available grunt tasks.'); }); - // ### Documentation - // Run `grunt docs` to generate annotated source code using the documentation described in the code comments. - grunt.registerTask('docs', 'Generate Docs', ['docker']); - - // Run `grunt watch-docs` to setup livereload & watch whilst you're editing the docs - grunt.registerTask('watch-docs', function () { - grunt.config.merge({ - watch: { - docs: { - files: ['core/server/**/*', 'index.js', 'Gruntfile.js'], - tasks: ['docker'], - options: { - livereload: true - } - } - } - }); - - grunt.task.run('watch:docs'); - }); - // ## Testing // Ghost has an extensive set of test suites. The following section documents the various types of tests