0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Adding docker for trying out docs generation

issue #2622

- yes 'docks' is a silly directory name but it's easier to remember which is which than docs and docs2
This commit is contained in:
Hannah Wolfe 2014-05-03 12:38:59 +01:00
parent 2c0ba46383
commit f84d3d32e5
2 changed files with 15 additions and 1 deletions

View file

@ -364,6 +364,19 @@ var path = require('path'),
}
},
docker: {
docs: {
dest: 'docks',
src: ['.'],
options: {
exclude: 'node_modules,.git,.tmp,bower_components,content,*built,*test,*doc*,*vendor,config.js',
extras: ['fileSearch']
}
}
},
// ### Config for grunt-contrib-clean
// Clean up files as part of other tasks
clean: {
@ -929,7 +942,7 @@ var path = require('path'),
// ### Documentation
grunt.registerTask('docs', 'Generate Docs', ['groc']);
grunt.registerTask('docs', 'Generate Docs', ['docker', 'groc']);
// ### Tools for building assets

View file

@ -71,6 +71,7 @@
"grunt-contrib-jshint": "~0.8.0",
"grunt-contrib-uglify": "~0.2.5",
"grunt-contrib-watch": "~0.5.3",
"grunt-docker": "~0.8.8",
"grunt-express-server": "~0.4.11",
"grunt-groc": "~0.4.5",
"grunt-mocha-cli": "~1.4.0",