<commit_before>#!/bin/bash
set -euo pipefail

echo
echo "**********************************"
echo "Building API documentation..."
echo "**********************************"
echo

cd docs

apidoc -f "\.py" -i ../augur/ -o api/

rm -rf ../frontend/public/api_docs/*

if [[ ! -d ../frontend/public/ ]]; then
    mkdir ../frontend/public/
fi

if [[ ! -d ../frontend/public/api_docs/ ]]; then
    mkdir ../frontend/public/api_docs/
fi

mv api/* ../frontend/public/api_docs/

cd ..

<commit_msg>Change invocation of apidoc<commit_after>#!/bin/bash
set -euo pipefail

echo
echo "**********************************"
echo "Building API documentation..."
echo "**********************************"
echo

cd docs

npx apidoc -f "\.py" -i ../augur/ -o api/

rm -rf ../frontend/public/api_docs/*

if [[ ! -d ../frontend/public/ ]]; then
    mkdir ../frontend/public/
fi

if [[ ! -d ../frontend/public/api_docs/ ]]; then
    mkdir ../frontend/public/api_docs/
fi

mv api/* ../frontend/public/api_docs/

cd ..


{'fraction_non_alphanumeric': 0.3038229376257545, 'fraction_numerical': 0.0, 'mean_word_length': 2.932806324110672, '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': '7219871', 'n_tokens_mistral': 373, 'n_tokens_neox': 339, 'n_words': 88}