<commit_before>#!/bin/sh

echo ">>> Cloning docs repo"
rm -rf ~/tmp/docs && git clone <EMAIL>:vtex/docs.git ~/tmp/docs
echo ">>> Cleaning"
rm -rf ~/tmp/docs/pt-br/vtex.js/lib && mkdir ~/tmp/docs/pt-br/vtex.js/lib
echo ">>> Generating docs"
gulp doc
echo ">>> Copying"
cp -r doc/* ~/tmp/docs/pt-br/vtex.js/lib/
echo ">>> Pushing"
cd ~/tmp/docs && git commit -am "Atualiza documentação do vtex.js" && git push && cd -
echo ">>> Done!"
<commit_msg>Fix export-doc script<commit_after>#!/bin/sh

echo ">>> Cloning docs repo"
rm -rf ~/tmp/docs && git clone <EMAIL>:vtex/docs.git ~/tmp/docs
echo ">>> Cleaning"
rm -rf ~/tmp/docs/pt-br/vtex.js/lib && mkdir ~/tmp/docs/pt-br/vtex.js/lib
echo ">>> Generating docs"
gulp doc
echo ">>> Copying"
cp -r doc/* ~/tmp/docs/pt-br/vtex.js/lib/
echo ">>> Pushing"
(cd ~/tmp/docs && git add . -A && git commit -m "Atualiza documentação do vtex.js" && git push)
echo ">>> Done!"

{'fraction_non_alphanumeric': 0.21830209481808158, 'fraction_numerical': 0.0, 'mean_word_length': 3.4729064039408866, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 41, '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': '4687381', 'n_tokens_mistral': 382, 'n_tokens_neox': 373, 'n_words': 96}