summaryrefslogtreecommitdiffstats
path: root/tasks/docsite.js
diff options
context:
space:
mode:
authorTeemu Pöntelin <teemu@vaadin.com>2016-04-14 10:59:14 +0300
committerSauli Tähkäpää <sauli@vaadin.com>2016-04-27 11:40:01 +0300
commitf35b9e1f978c62e8cb5ef317cda97d917b0fe12e (patch)
tree29e2ff7d5c96c35d28e315dc6baf5e4d70ec1bcf /tasks/docsite.js
parentcba63bff8b27381f20afe741ad9fcdf0e919b87f (diff)
downloadvaadin-core-f35b9e1f978c62e8cb5ef317cda97d917b0fe12e.tar.gz
vaadin-core-f35b9e1f978c62e8cb5ef317cda97d917b0fe12e.zip
Replace obsolete integration example with Angular 2 pageng2-docs-rebased
Diffstat (limited to 'tasks/docsite.js')
-rw-r--r--tasks/docsite.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/tasks/docsite.js b/tasks/docsite.js
index 38b3e65..1441c3b 100644
--- a/tasks/docsite.js
+++ b/tasks/docsite.js
@@ -42,10 +42,15 @@ gulp.task('cdn:docsite:bower_components', ['cdn:stage-bower_components'], functi
});
gulp.task('cdn:docsite:core-elements', function() {
- return gulp.src('docs/*')
+ return gulp.src(['docs/*', '!docs/angular2.adoc'])
.pipe(gulp.dest(docPath));
});
+gulp.task('cdn:docsite:core-elements-ng2-integration', function() {
+ return gulp.src('docs/angular2.adoc')
+ .pipe(gulp.dest(docPath + '/integrations'));
+});
+
gulp.task('cdn:docsite:core-elements-integrations', function() {
return getDocModifyTask('demo/**', docPath + '/integrations');
});
@@ -115,7 +120,8 @@ gulp.task('cdn:docsite:stage', ['cdn:docsite:core-elements',
'cdn:docsite:core-elements-elements',
//separate task for vaadin-grid until it uses asciidocs
'cdn:docsite:vaadin-grid',
- 'cdn:docsite:core-elements-integrations']);
+ 'cdn:docsite:core-elements-integrations',
+ 'cdn:docsite:core-elements-ng2-integration']);
gulp.task('cdn:docsite:zip', ['cdn:docsite:stage'], function() {
var src = docPath + '/**/*';