diff options
author | Teemu Pòˆntelin <teemu@vaadin.com> | 2015-11-18 14:30:14 +0200 |
---|---|---|
committer | Teemu Pòˆntelin <teemu@vaadin.com> | 2015-11-18 14:44:43 +0200 |
commit | 89abefc57ce902fd4d406c8127f8f87eabec07a2 (patch) | |
tree | a875844107de452caa1993fa8c2ccafc8de42631 /tasks | |
parent | da1836a25b501bc5dbde710ec5802552a9bea218 (diff) | |
download | vaadin-core-89abefc57ce902fd4d406c8127f8f87eabec07a2.tar.gz vaadin-core-89abefc57ce902fd4d406c8127f8f87eabec07a2.zip |
Add index page for apidocs contained within the elements
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/cdn.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js index 9ff994a..d6ea3c7 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -33,11 +33,11 @@ gulp.task('cdn:stage-bower_components', function() { }); gulp.task('cdn:stage-vaadin-elements', function() { - return gulp.src(['LICENSE.html', 'README.md', 'ga.js', 'vaadin-elements.html', 'demo/*', 'apidoc/*'], {base:"."}) + return gulp.src(['LICENSE.html', 'README.md', 'vaadin-elements.html', 'demo/*', 'apidoc/*'], {base:"."}) .pipe(modify({ fileModifier: function(file, contents) { if (/README.md/.test(file.path)) { - contents = contents.replace(/\/latest\//mg, '/' + version + '/') + contents = contents.replace(/\/latest\//mg, '/' + version + '/'); } else { contents.replace('https://cdn.vaadin.com/vaadin-elements/latest/', '../../'); } @@ -133,5 +133,5 @@ gulp.task('verify:cdn', ['cdn-test:stage'], function(done) { done(err); }); - }, done)}); + }, done);}); }); |