<commit_before>#!/bin/sh
# Pushes javadocs for an given release version
# Run from top level dir

REPO="atomix/catalogue"

echo "Enter the API version to generate docs for: "
read apiVersion

rm -rf target/docs
git clone <EMAIL>:atomix/$REPO.git target/docs -b gh-pages > /dev/null
mvn javadoc:javadoc -Djv=$apiVersion
git rm -rf target/docs/api/$apiVersion
mv target/site/apidocs/api/$apiVersion target/docs/api
cd target/docs
git add -A -f api/$apiVersion
git commit -m "Updated JavaDocs for $apiVersion"
git push -fq origin gh-pages > /dev/null

echo "Published Javadoc to gh-pages.\n"<commit_msg>Fix push-javadoc script<commit_after>#!/bin/sh
# Pushes javadocs for an given release version
# Run from top level dir

REPO="atomix/catalogue"

echo "Enter the API version to generate docs for: "
read apiVersion

rm -rf target/docs
git clone <EMAIL>:$REPO.git target/docs -b gh-pages > /dev/null
mvn javadoc:javadoc -Djv=$apiVersion
git rm -rf target/docs/api/$apiVersion
mv target/site/apidocs/api/$apiVersion target/docs/api
cd target/docs
git add -A -f api/$apiVersion
git commit -m "Updated JavaDocs for $apiVersion"
git push -fq origin gh-pages > /dev/null

echo "Published Javadoc to gh-pages.\n"
{'fraction_non_alphanumeric': 0.10806317539484622, 'fraction_numerical': 0.0, 'mean_word_length': 4.25764192139738, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1158682', 'n_tokens_mistral': 439, 'n_tokens_neox': 409, 'n_words': 141}