Remove unused doc-related grunt tasks
refs: 585eada1c3 (diff-b9cfc7f2cdf78a7f4b91a753d10865a2)
- doc-related tasks were left even though we removed the dep & generation task
This commit is contained in:
parent
b89b57b6fb
commit
ca7dfe0932
21
Gruntfile.js
21
Gruntfile.js
@ -343,27 +343,6 @@ const configureGrunt = function (grunt) {
|
|||||||
grunt.log.writeln('Type `grunt --help` to get the details of available grunt tasks.');
|
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
|
// ## Testing
|
||||||
|
|
||||||
// Ghost has an extensive set of test suites. The following section documents the various types of tests
|
// Ghost has an extensive set of test suites. The following section documents the various types of tests
|
||||||
|
Loading…
Reference in New Issue
Block a user