<commit_before># Builds the site
# Assumes that working directory is the repository

# Cleanup
rm -Rf build
rm -Rf public

# Build website
./scripts/hugo

mkdir -p public/docs/docs/master/
mkdir -p public/docs/book/master/

mkdir -p public/docs/docs/0.9/
mkdir -p public/docs/book/0.9/

# Build docs
mkdir build
cd build

git clone https://github.com/slide-rs/specs
cd specs

## For master and every important release
### master
git checkout master
cargo doc

cp -r target/doc/* ../../public/docs/docs/master/

cd book
mdbook build

cp -r book/* ../../../public/docs/book/master/
### 0.9
git checkout -b release-0.9 upstream/release-0.9
cargo doc

cp -r target/doc/* ../../public/docs/docs/0.9/

cd book
mdbook build

cp -r book/* ../../../public/docs/book/0.9/
### end

cd ../../../
<commit_msg>Could somebody tell me why the remote isn't upstream by default?<commit_after># Builds the site
# Assumes that working directory is the repository

# Cleanup
rm -Rf build
rm -Rf public

# Build website
./scripts/hugo

mkdir -p public/docs/docs/master/
mkdir -p public/docs/book/master/

mkdir -p public/docs/docs/0.9/
mkdir -p public/docs/book/0.9/

# Build docs
mkdir build
cd build

git clone https://github.com/slide-rs/specs
cd specs

## For master and every important release
### master
git checkout master
cargo doc

cp -r target/doc/* ../../public/docs/docs/master/

cd book
mdbook build

cp -r book/* ../../../public/docs/book/master/
### 0.9
git checkout -b release-0.9 origin/release-0.9
cargo doc

cp -r target/doc/* ../../public/docs/docs/0.9/

cd book
mdbook build

cp -r book/* ../../../public/docs/book/0.9/
### end

cd ../../../

{'fraction_non_alphanumeric': 0.16087751371115175, 'fraction_numerical': 0.017062766605728214, 'mean_word_length': 2.6407982261640797, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2679700', 'n_tokens_mistral': 608, 'n_tokens_neox': 574, 'n_words': 190}