<commit_before>(function() {
	'use strict';

	//node packages
	var fs = require('fs');
	var path = require('path');
	var j = path.join;
	var glob = require('glob');
	var del = require('del');
	var autoprefixer = require('autoprefixer');
	var hogan = require('hogan.js');

	//stream/gulp related
	var merge = require('merge-stream');
	var es = require('event-stream');
	var gulp = require('gulp');
	var through = require('through2');
	var run = require('run-sequence');

	module.exports = function(gulp, plugins, C) {

		gulp.task('docs', ['copy:docs', 'sass:docs', 'docs:templates']);

		gulp.task('clean:docs', function() {
			return del([C.BUILD_DOCS+'**']);
		});

		gulp.task('copy:docs', function() {
			var assets = gulp.src(j(C.DOCS,'/images/*.svg'),{base:C.DOCS});
			var cname = gulp.src('CNAME');
			var license = gulp.src('LICENSE.txt');
			var touchIcons = gulp.src('apple-*.png');
			var favicon = gulp.src('favicon.ico');

			var merged_static = merge(assets, cname, license, touchIcons, favicon)
				.pipe(gulp.dest(C.BUILD_DOCS));
<commit_msg>force clean build before building docs<commit_after>(function() {
	'use strict';

	//node packages
	var fs = require('fs');
	var path = require('path');
	var j = path.join;
	var glob = require('glob');
	var del = require('del');
	var autoprefixer = require('autoprefixer');
	var hogan = require('hogan.js');

	//stream/gulp related
	var merge = require('merge-stream');
	var es = require('event-stream');
	var gulp = require('gulp');
	var through = require('through2');
	var run = require('run-sequence');

	module.exports = function(gulp, plugins, C) {

		gulp.task('docs', function() {
			run('clean','clean:docs', 'build','copy:docs', 'sass:docs', 'docs:templates');
		});

		gulp.task('clean:docs', function() {
			return del([C.BUILD_DOCS+'**']);
		});

		gulp.task('copy:docs', function() {
			var assets = gulp.src(j(C.DOCS,'/images/*.svg'),{base:C.DOCS});
			var cname = gulp.src('CNAME');
			var license = gulp.src('LICENSE.txt');
			var touchIcons = gulp.src('apple-*.png');
			var favicon = gulp.src('favicon.ico');

			var merged_static = merge(assets, cname, license, touchIcons, favicon)
				.pipe(gulp.dest(C.BUILD_DOCS));

{'fraction_non_alphanumeric': 0.20254893035958124, 'fraction_numerical': 0.0009103322712790169, 'mean_word_length': 4.508771929824562, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7346844', 'n_tokens_mistral': 838, 'n_tokens_neox': 781, 'n_words': 167}