<commit_before>import path from 'path';
import {
	start,
	generatePages,
	savePages,
	createMarkdownRenderer,
	createTemplateRenderer,
	helpers,
} from 'fledermaus';
import { readFile } from 'fledermaus/lib/util';
import fs from 'fs-extra';
import glob from 'glob';
import hljs from 'highlight.js';
import Sequelize from 'sequelize';
import slugify from 'underscore.string/slugify';

/* eslint-disable no-console */

const blocksRegEx = /\n((?:^[\t ]*\/\/.*?$\n)+)(^.*?$)?/mg;

const stylusModules = [
	'skin/layout',
	'skin/links',
	'skin/misc',
	'core/layout',
	'core/links',
	'core/images',
	'core/mediaqueries',
	'core/functions',
	'core/misc',
	'config',
];

start('Building the docs...');

hljs.configure({
	tabReplace: '<span class="indent">\t</span>',
});

const config = {
	base: {
		lang: 'en',
		menu: {
			javascript: 'JavaScript',
			styles: 'Styles',
			modules: 'Modules',
		},
	},
};

const dashPath = p => path.resolve(__dirname, `../Tamia.docset/${p}`);<commit_msg>Update stylus paths.<commit_after>import path from 'path';
import {
	start,
	generatePages,
	savePages,
	createMarkdownRenderer,
	createTemplateRenderer,
	helpers,
} from 'fledermaus';
import { readFile } from 'fledermaus/lib/util';
import fs from 'fs-extra';
import glob from 'glob';
import hljs from 'highlight.js';
import Sequelize from 'sequelize';
import slugify from 'underscore.string/slugify';

/* eslint-disable no-console */

const blocksRegEx = /\n((?:^[\t ]*\/\/.*?$\n)+)(^.*?$)?/mg;

const stylusModules = [
	'classes/layout',
	'classes/links',
	'classes/misc',
	'core/layout',
	'core/links',
	'core/images',
	'core/mediaqueries',
	'core/functions',
	'core/misc',
];

start('Building the docs...');

hljs.configure({
	tabReplace: '<span class="indent">\t</span>',
});

const config = {
	base: {
		lang: 'en',
		menu: {
			javascript: 'JavaScript',
			styles: 'Styles',
			modules: 'Modules',
		},
	},
};

const dashPath = p => path.resolve(__dirname, `../Tamia.docset/${p}`);
{'fraction_non_alphanumeric': 0.2009132420091324, 'fraction_numerical': 0.0, 'mean_word_length': 4.417582417582418, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '5240657', 'n_tokens_mistral': 764, 'n_tokens_neox': 734, 'n_words': 158}