Ver Fonte

Clean up Gulpfile.

Kamil Piechaczek há 9 anos atrás
pai
commit
6cd65d15da
1 ficheiros alterados com 2 adições e 7 exclusões
  1. 2 7
      gulpfile.js

+ 2 - 7
gulpfile.js

@@ -24,16 +24,12 @@ const config = {
 	BUNDLE_DEFAULT_CONFIG: 'dev/bundles/build-config-standard.js',
 
 	DOCUMENTATION: {
-		// Path to the temporary documentation files.
-		TEMPORARY_DIR: 'build/docs/.tmp',
 		// Path to the built editors.
 		BUNDLE_DIR: 'build/docs/assets/scripts/samples',
 		// Path to the built documentation.
 		DESTINATION_DIR: 'build/docs',
 		// Glob pattern with samples.
-		SAMPLES: 'docs/samples/**/*.@(md|html|js)',
-		// Glob pattern with guides.
-		GUIDES: 'docs/guides/**/*.md'
+		SAMPLES: 'docs/samples/**/*.@(md|html|js)'
 	},
 
 	// Files ignored by jshint and jscs tasks. Files from .gitignore will be added automatically during tasks execution.
@@ -141,11 +137,10 @@ const ckeditor5DevDocs = require( '@ckeditor/ckeditor5-dev-docs' );
 const docsBuilder = ckeditor5DevDocs.docs( config );
 
 gulp.task( 'docs', [ 'docs:clean', 'compile:js:esnext' ], ( done ) => {
-	runSequence( [ 'docs:prepare-files', 'docs:editors' ], 'docs:build', done );
+	runSequence( 'docs:editors', 'docs:build', done );
 } );
 
 // Documentation's helpers.
 gulp.task( 'docs:clean', docsBuilder.clean );
 gulp.task( 'docs:build', docsBuilder.buildDocs );
-gulp.task( 'docs:prepare-files', docsBuilder.collectDocumentationFiles );
 gulp.task( 'docs:editors', [ 'compile:js:esnext', 'compile:themes:esnext' ], docsBuilder.buildEditorsForSamples );