<commit_before>var _ = require('lodash')
var fs = require('fs')
var gzip = require('gzip-size')
var filesize = require('filesize')
var postcss = require('postcss')
var cssstats = require('cssstats')

var display = require('tachyons-display/package.json')
var displayCss = fs.readFileSync('node_modules/tachyons-display/tachyons-display.min.css', 'utf8')
var displayObj = cssstats(displayCss)
var displaySize = filesize(displayObj.gzipSize)

var srcCSS = fs.readFileSync('./src/_display.css', 'utf8')

var template = fs.readFileSync('./templates/docs/display/index.html', 'utf8')
var tpl = _.template(template)
var html = tpl({
  displayVersion: display.version,
  displaySize: displaySize,
  displayObj: displayObj,
  srcCSS: srcCSS
})

fs.writeFileSync('./docs/layout/display/index.html', html)<commit_msg>Update with reference to global nav partial<commit_after>var _ = require('lodash')
var fs = require('fs')
var gzip = require('gzip-size')
var filesize = require('filesize')
var postcss = require('postcss')
var cssstats = require('cssstats')

var display = require('tachyons-display/package.json')
var displayCss = fs.readFileSync('node_modules/tachyons-display/tachyons-display.min.css', 'utf8')
var displayObj = cssstats(displayCss)
var displaySize = filesize(displayObj.gzipSize)

var srcCSS = fs.readFileSync('./src/_display.css', 'utf8')
var navDocs = fs.readFileSync('./templates/nav_docs.html', 'utf8')


var template = fs.readFileSync('./templates/docs/display/index.html', 'utf8')
var tpl = _.template(template)
var html = tpl({
  displayVersion: display.version,
  displaySize: displaySize,
  displayObj: displayObj,
  srcCSS: srcCSS,
  navDocs: navDocs
})

fs.writeFileSync('./docs/layout/display/index.html', html)
{'fraction_non_alphanumeric': 0.14838337182448036, 'fraction_numerical': 0.0040415704387990765, 'mean_word_length': 5.932, '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': '1146991', 'n_tokens_mistral': 578, 'n_tokens_neox': 567, 'n_words': 119}