<commit_before>cd docs

function deploy_doc(){
	echo "Creating doc at commit $1 and pushing to folder $2"
	git checkout $1
	if [ ! -z "$2" ] 
	then
		echo "Pushing version" $2
		make clean && make html && scp -r -oStrictHostKeyChecking=no _build/html $doc:$dir/$2
	else
		echo "Pushing master"
		make clean && make html && scp -r -oStrictHostKeyChecking=no _build/html/* $doc:$dir
	fi
}

deploy_doc "master" 
deploy_doc "b33a385" v1.0.0
deploy_doc "fe02e45" v1.1.0
eploy_doc "89fd345" v1.2.0
deploy_doc "fc9faa8" v2.0.0
deploy_doc "3ddce1d" v2.1.1<commit_msg>Fixed typo<commit_after>cd docs

function deploy_doc(){
	echo "Creating doc at commit $1 and pushing to folder $2"
	git checkout $1
	if [ ! -z "$2" ] 
	then
		echo "Pushing version" $2
		make clean && make html && scp -r -oStrictHostKeyChecking=no _build/html $doc:$dir/$2
	else
		echo "Pushing master"
		make clean && make html && scp -r -oStrictHostKeyChecking=no _build/html/* $doc:$dir
	fi
}

deploy_doc "master" 
deploy_doc "b33a385" v1.0.0
deploy_doc "fe02e45" v1.1.0
deploy_doc "89fd345" v1.2.0
deploy_doc "fc9faa8" v2.0.0
deploy_doc "3ddce1d" v2.1.1
{'fraction_non_alphanumeric': 0.12903225806451613, 'fraction_numerical': 0.06989247311827956, 'mean_word_length': 4.031531531531532, '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': '5067636', 'n_tokens_mistral': 517, 'n_tokens_neox': 469, 'n_words': 132}