<commit_before><commit_msg>.github: Add sphinx docs GH Action (#796)<commit_after>name: sphinx documentation

on:
  push:
    paths:
      - "docs/**"
  pull_request:
    paths:
      - "docs/**"

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Installing Dependencies
        run: sudo apt update && sudo apt install python3-sphinx sassc

      - name: Check docs
        # TODO: -W turns warnings into errors
        run: make site
{'fraction_non_alphanumeric': 0.10472279260780287, 'fraction_numerical': 0.01026694045174538, 'mean_word_length': 2.3197278911564627, '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': '6941150', 'n_tokens_mistral': 169, 'n_tokens_neox': 152, 'n_words': 47}