Skip to content

Commit 5bb43be

Browse files
committed
fix(gen): fix doc img generation\n\nAdd gulp task to copy images to gh-pages
1 parent 6f534fe commit 5bb43be

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: gulpfile.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,14 @@ gulp.task('lint', () => console.log('TODO'));
183183
gulp.task('daux', () => {
184184
return execAsync('daux');
185185
});
186+
gulp.task('copy_docs_images', () => {
187+
return gulp.src('./media/svg/*')
188+
.pipe(gulp.dest('./static/'));
189+
});
186190
gulp.task('gh-pages', () => {
187191
return gulp.src('./static/**/*')
188192
.pipe(ghPages());
189193
});
190194
gulp.task('docs', cb => {
191-
return runSequence('daux', 'gh-pages', cb);
195+
return runSequence('daux', 'copy_docs_images', 'gh-pages', cb);
192196
});

0 commit comments

Comments
 (0)