<commit_before># Script to build gh-pages.

git pull
scons -j8 .
bin/run_tests --report_level=short
scons -c .

sh dox/build-dox.sh
git checkout gh-pages
find . -maxdepth 1 ! -name 'html' ! -name '.git' | xargs rm -rf
mv html/* .
rm -rf html
git add .

git commit -m "Update gh-pages for `git log master -1 | head -1`"
git push
git checkout master<commit_msg>Fix build script to correctly insert version number.<commit_after># Script to build gh-pages.

git pull
scons -c .
scons -j8 .
bin/run_tests --report_level=short
sh dox/build-dox.sh
scons -c .

git checkout gh-pages
find . -maxdepth 1 ! -name 'html' ! -name '.git' | xargs rm -rf
mv html/* .
rm -rf html
git add .

git commit -m "Update gh-pages for `git log master -1 | head -1`"
git push
git checkout master
{'fraction_non_alphanumeric': 0.12109375, 'fraction_numerical': 0.010416666666666666, 'mean_word_length': 2.963917525773196, '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': '6472222', 'n_tokens_mistral': 292, 'n_tokens_neox': 279, 'n_words': 112}