<commit_before>#!/usr/bin/env bash
# Push HTML files to gh-pages automatically.

# Fill this out with the correct org/repo
ORG=BigDataRepublic
REPO=bdr-analytics-py
# This probably should match an email for one of your users.
EMAIL=<EMAIL>

set -e

# Clone the gh-pages branch outside of the repo and cd into it.
cd ..
git clone -b gh-pages "https://$GH_TOKEN@github.com/$ORG/$REPO.git" gh-pages
cd gh-pages

# Update git configuration so I can push.
if [ "$1" != "dry" ]; then
    # Update git config.
    git config user.name "<NAME>"
    git config user.email "$EMAIL"
fi

# Copy in the HTML.  You may want to change this with your documentation path.
cp -R ../$REPO/doc/_build/html/* ./<commit_msg>Update of relative path in push.sh<commit_after>#!/usr/bin/env bash
# Push HTML files to gh-pages automatically.

# Fill this out with the correct org/repo
ORG=BigDataRepublic
REPO=bdr-analytics-py
# This probably should match an email for one of your users.
EMAIL=<EMAIL>

set -e

## Script is located in and initiated from ./doc/ folder.
cd ..

# Clone the gh-pages branch outside of the repo and cd into it.
cd ..
git clone -b gh-pages "https://$GH_TOKEN@github.com/$ORG/$REPO.git" gh-pages
cd gh-pages

# Update git configuration so I can push.
if [ "$1" != "dry" ]; then
    # Update git config.
    git config user.name "<NAME>"
    git config user.email "$EMAIL"
fi

# Copy in the HTML.  You may want to change this with your documentation path.
cp -R ../$REPO/doc/_build/html/* ./
{'fraction_non_alphanumeric': 0.1174496644295302, 'fraction_numerical': 0.0013422818791946308, 'mean_word_length': 3.2844827586206895, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '592752', 'n_tokens_mistral': 512, 'n_tokens_neox': 489, 'n_words': 199}