mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 22:18:52 +00:00
more bugs fixes for algolia
This commit is contained in:
@@ -30,10 +30,6 @@ gulp.task('dev', ['build-dev'], () => {
|
||||
gulp.start('init-watch');
|
||||
});
|
||||
|
||||
gulp.task('dev:search', ['build-dev:search'], () => {
|
||||
gulp.start('init-watch');
|
||||
});
|
||||
|
||||
gulp.task('build', (cb) => {
|
||||
runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo', () => {
|
||||
cb();
|
||||
@@ -52,12 +48,6 @@ gulp.task('build-dev', (cb) => {
|
||||
});
|
||||
});
|
||||
|
||||
gulp.task('build-dev:search', (cb) => {
|
||||
runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo-dev', () => {
|
||||
cb();
|
||||
});
|
||||
});
|
||||
|
||||
gulp.task('hugo', (cb) => {
|
||||
return spawn('hugo', ['--buildFuture', '--baseURL=/docs'], { stdio: 'inherit' }).on('close', (/* code */) => {
|
||||
browserSync.reload();
|
||||
|
||||
Reference in New Issue
Block a user