mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Copy pdfs via gulp too
This commit is contained in:
parent
1c64320544
commit
f7df03b4dd
@ -26,6 +26,7 @@ var paths = {
|
||||
docstxt: ['docs/**/*.txt', 'docs/redirects.conf'],
|
||||
docsjson: ['docs/**/*.json'],
|
||||
docsxml: ['docs/**/*.xml'],
|
||||
docspdf: ['docs/**/*.pdf'],
|
||||
docssitemap: ['sitemap.xml', 'sitemap_static.xml'],
|
||||
scripts: [
|
||||
'**/*.js',
|
||||
@ -78,6 +79,11 @@ gulp.task('docsxml', ['docs'], function () {
|
||||
.pipe(gulp.dest(outputDir + '/docs'))
|
||||
});
|
||||
|
||||
gulp.task('docspdf', ['docs'], function () {
|
||||
return gulp.src(paths.docspdf)
|
||||
.pipe(gulp.dest(outputDir + '/docs'))
|
||||
});
|
||||
|
||||
gulp.task('docssitemap', [], function () {
|
||||
return gulp.src(paths.docssitemap)
|
||||
.pipe(gulp.dest(outputDir + '/docs'))
|
||||
@ -93,7 +99,7 @@ gulp.task('robotstxt', [], function () {
|
||||
.pipe(gulp.dest(outputDir))
|
||||
});
|
||||
|
||||
gulp.task('htmls', ['docs', 'docstxt', 'docsjson', 'docsxml', 'docssitemap'], function () {
|
||||
gulp.task('htmls', ['docs', 'docstxt', 'docsjson', 'docsxml', 'docspdf', 'docssitemap'], function () {
|
||||
return gulp.src(paths.htmls)
|
||||
.pipe(htmlmin({collapseWhitespace: true}))
|
||||
.pipe(minifyInline())
|
||||
|
Loading…
Reference in New Issue
Block a user