<commit_before>#!/usr/bin/env bash

JAZZY_EXECUTABLE=`which jazzy`
if [[ $? != 0 ]]; then
	echo "error: The jazzy documentation generator must be installed. Visit https://github.com/realm/jazzy for installation information."
	exit 1
fi

pushd "`dirname $0`/../.." > /dev/null

MODULE_NAME=`basename $PWD`

"$JAZZY_EXECUTABLE" -o Documentation -m "$MODULE_NAME" --readme Code/README.md --github_url "https://github.com/emaloney/$MODULE_NAME" --author "Gilt Groupe" --author_url "http://tech.gilt.com/"
JAZZY_EXIT_CODE=$?
if [[ $JAZZY_EXIT_CODE != 0 ]]; then
	echo "error: $JAZZY_EXECUTABLE failed with an exit code of $JAZZY_EXIT_CODE; check any output above for additional details."
	exit 2
fi<commit_msg>standardize documentation generation settings across Cleanroom projects<commit_after>#!/usr/bin/env bash

JAZZY_EXECUTABLE=`which jazzy`
if [[ $? != 0 ]]; then
	echo "error: The jazzy documentation generator must be installed. Visit https://github.com/realm/jazzy for installation information."
	exit 1
fi

pushd "`dirname $0`/../.." > /dev/null

MODULE_NAME=`basename $PWD`
CURRENT_YEAR=`date +"%Y"`

"$JAZZY_EXECUTABLE" -o Documentation \
	-m "$MODULE_NAME" \
	--readme Code/README.md \
	--github_url "https://github.com/emaloney/$MODULE_NAME" \
	--author "<NAME>, Gilt Groupe" \
	--author_url "http://github.com/emaloney" \
	--copyright_holder "Gilt Groupe" \
	--copyright_year "2014-$CURRENT_YEAR" \
	--copyright_url "http://tech.gilt.com/"
JAZZY_EXIT_CODE=$?
if [[ $JAZZY_EXIT_CODE != 0 ]]; then
	echo "error: $JAZZY_EXECUTABLE failed with an exit code of $JAZZY_EXIT_CODE; check any output above for additional details."
	exit 2
fi
{'fraction_non_alphanumeric': 0.1492082825822168, 'fraction_numerical': 0.008526187576126675, 'mean_word_length': 4.440397350993377, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 4, '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': '6258571', 'n_tokens_mistral': 621, 'n_tokens_neox': 591, 'n_words': 153}