<commit_before>version: 2
jobs:
  test-linux:
    docker:
      - image: antoniogamiz/documentable
    steps:
      - checkout
      - run:
          name: Test documentable
          command: |
            # latest commit
            LATEST_COMMIT=$(git rev-parse HEAD)

            FOLDER1_COMMIT=$(git log -1 --format=format:%H --full-diff doc/)
            if [ $FOLDER1_COMMIT = $LATEST_COMMIT ];
            then
                echo "Docs changed, attempting build"
                documentable start -a -v
            fi

      - store_artifacts:
          path: html/
<commit_msg>Adds message, eliminates comments, closes #3598<commit_after>version: 2
jobs:
  test-linux:
    docker:
      - image: antoniogamiz/documentable
    steps:
      - checkout
      - run:
          name: Test documentable
          command: |
            LATEST_COMMIT=$(git rev-parse HEAD)
            FOLDER1_COMMIT=$(git log -1 --format=format:%H --full-diff doc/)
            if [ $FOLDER1_COMMIT = $LATEST_COMMIT ];
            then
                echo "Docs changed, attempting build"
                documentable start -a -v
            else
                echo "Actual docs unchanged, won't test build"
            fi

      - store_artifacts:
          path: html/

{'fraction_non_alphanumeric': 0.08867775138558986, 'fraction_numerical': 0.009501187648456057, 'mean_word_length': 1.5179282868525896, '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': '6917990', 'n_tokens_mistral': 390, 'n_tokens_neox': 364, 'n_words': 95}