<commit_before>/*!
 * rendr-demo <https://github.com/akileez/rendr-demo>
 *
 * Copyright (c) 2015 <NAME>.
 * Licensed under the ISC license.
 */

// require the module
var rendr = require('rendr')

// setup a configuration object or create a RENDR.cson file in root directory
// this of course is all preliminary. Just wanted to get this working.
var configuration = {
  // defaults object aka options
  defaults: {
    // General
    // build directory
    destination   : 'build',
    // asset staging
    stagingArea   : 'assets',
    // where static assets reside
    staticAssets  : 'support',
    // really this is just the extension to use for files. not really an engine.
    engine        : 'html',
    // default layout name
    defaultLayout : 'default',
    // regex to filter out directory structure from build directory so I may
    // calculate relative paths easier. If you have a flat structure this should
    // not be a problem. But I doubt it.
    templateRoot  : /(layouts\/templates\/(views|src))/,


    // Glob Files
    // really a routing system. just glob it all. I tried to iterate over
    // everything.
    layouts   : 'layouts/{globals,regions}/*.hbs',
    templates : 'layouts/templates/views/**/*.hbs',
    sources   : 'layouts/templates/src/*.hbs',
    modules   : 'pages/**/*.hbs',
    partials  : 'layouts/sectors/*.hbs',
    helpers   : 'helpers/*.js',
    styles    : 'styles/**/*.{less,css}',
    scripts   : 'scripts/**/*.js',
    support   : 'support/**/*',
    stage     : 'assets/{img,pdf,fonts}/**/*',
    context   : 'config/**/*.cson',
    html      : 'build/**/*.html',
    build     : ['build/**/*', '!build/assets/**', '!build/assets'],
    // Tree support
    // section is used to build an object of file paths of project assets.
    // I dislike adding strings for filepaths in helpers very very very much.
    css       : 'assets/css/*.css',<commit_msg>update example/index<commit_after>/*!
 * rendr-demo <https://github.com/akileez/rendr-demo>
 *
 * Copyright (c) 2015 <NAME>.
 * Licensed under the ISC license.
 */

// require the module
var rendr = require('rendr')

// setup a configuration object or create a RENDR.cson file in root directory
// this of course is all preliminary. Just wanted to get this working.
var configuration = {
  // defaults object aka options
  defaults: {
    // General
    // template generator. process files concurrently [concurrent] or serially [iterate]
    generator: 'iterate',
    // build directory
    destination   : 'build',
    // asset staging
    stagingArea   : 'assets',
    // where static assets reside
    staticAssets  : 'support',
    // the extension to use for processed files.
    extension     : 'html',
    // default layout name
    defaultLayout : 'default',
    // regex to filter out directory structure from build directory so I may
    // calculate relative paths easier. If you have a flat structure this should
    // not be a problem. But I doubt it.
    templateRoot  : /(layouts\/templates\/(views|src))/,


    // Glob Files
    // really a routing system. just glob it all. I tried to iterate over
    // everything.
    layouts   : 'layouts/{globals,regions}/*.hbs',
    templates : 'layouts/templates/views/**/*.hbs',
    sources   : 'layouts/templates/src/*.hbs',
    modules   : 'pages/**/*.hbs',
    partials  : 'layouts/sectors/*.hbs',
    helpers   : 'helpers/*.js',
    styles    : 'styles/**/*.{less,css}',
    scripts   : 'scripts/**/*.js',
    support   : 'support/**/*',
    stage     : 'assets/{img,pdf,fonts}/**/*',
    context   : 'config/**/*.yml',
    html      : 'build/**/*.html',
    build     : ['build/**/*', '!build/assets/**', '!build/assets'],
    // Tree support
    // section is used to build an object of file paths of project assets.
    // I dislike adding strings for filepaths in helpers very very very much.
    css       : 'assets/css/*.css',
{'fraction_non_alphanumeric': 0.1441741357234315, 'fraction_numerical': 0.00204865556978233, 'mean_word_length': 2.472, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '5727016', 'n_tokens_mistral': 1167, 'n_tokens_neox': 1135, 'n_words': 388}