<commit_before>#!/bin/bash

set -e
set -u

git submodule init
git submodule updat

command -v sphinx-build >/dev/null 2>&1 || { echo "Missing command 'sphinx-build'. Try 'pip install Sphinx'." >&2; exit 1; }

export version="3.0.2" release="3.0.2"

sphinx-build -b epub slick/slick/src/sphinx/ output

ebook-convert output/Slick.epub output/Slick.mobi<commit_msg>Fix build.sh.<commit_after>#!/bin/bash

set -e
set -u

git submodule init
git submodule update

command -v sphinx-build >/dev/null 2>&1 || { echo "Missing command 'sphinx-build'. Try 'pip install Sphinx'." >&2; exit 1; }

export version="3.0.2" release="3.0.2"
export slick_extensions_version="3.0.0"

sphinx-build -b epub slick/slick/src/sphinx/ output
{'fraction_non_alphanumeric': 0.15363128491620112, 'fraction_numerical': 0.03212290502793296, 'mean_word_length': 4.013986013986014, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6447843', 'n_tokens_mistral': 297, 'n_tokens_neox': 279, 'n_words': 75}