<commit_before>#!/usr/bin/env bash

set -e

doctoc --title '**Table of content**' README.md DOCS.md

typedoc

sed -i 's/\.\/docs/\./g' docs/index.html<commit_msg>docs: Document docs.sh script<commit_after>#!/usr/bin/env bash

set -e

doctoc --title '**Table of content**' README.md DOCS.md

typedoc

# Fix basepath of links: the READMEs reference ./docs from the root
# but the READMEs get copied to ./docs and that gets deployed.
# ./docs/foo => ./foo
sed -i 's/\.\/docs/\./g' docs/index.html
{'fraction_non_alphanumeric': 0.17038539553752535, 'fraction_numerical': 0.0, 'mean_word_length': 3.0826446280991737, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1381161', 'n_tokens_mistral': 194, 'n_tokens_neox': 186, 'n_words': 58}