diff options
author | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2017-01-14 06:25:33 +0100 |
---|---|---|
committer | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2017-01-14 06:25:33 +0100 |
commit | c8dc14292c257608ea890cd93a75d8a9921d8d46 (patch) | |
tree | 0c5f9375beee97cfe187e503a697f8797b71724e /gulpfile.js | |
parent | 5f2a84fd218b06c100d64bba76308b866f197709 (diff) | |
download | svg.js-c8dc14292c257608ea890cd93a75d8a9921d8d46.tar.gz svg.js-c8dc14292c257608ea890cd93a75d8a9921d8d46.zip |
Wrapping up for 2.3.7 release
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/gulpfile.js b/gulpfile.js index 9d7c4de..2bf1c09 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -121,24 +121,5 @@ gulp.task('minify', ['unify'], function() { .pipe(size({ showFiles: true, gzip: true, title: 'Gzipped' }))
})
-/**
- * rebuild documentation using documentup
- */
-
-gulp.task('docs', function() {
- fs.readFile('README.md', 'utf8', function (err, data) {
- request.post(
- 'http://documentup.com/compiled'
- , { form: { content: data, name: 'SVG.js', theme: 'v1' } }
- , function (error, response, body) {
- // Replace stylesheet
- body = body.replace('//documentup.com/stylesheets/themes/v1.css', 'svgjs.css')
-
- // Write file
- fs.writeFile('docs/index.html', body, function(err) {})
- }
- )
- })
-})
-gulp.task('default', ['clean', 'unify', 'minify'])
\ No newline at end of file +gulp.task('default', ['clean', 'unify', 'minify'])
|