<commit_before># application: simpegdocs
# version: 1
runtime: python27
api_version: 1
threadsafe: yes

handlers:

# favicon
- url: /images/logo-block\.ico
  static_files: /images/logo-block.ico
  upload: /images/logo-block\.ico

# all css
- url: /(.*\.css)
  mime_type: text/css
  static_files: _build/html/\1
  upload: _build/html/(.*\.css)

# webfonts
- url: /(.*\.(eot|svg|ttf|woff|woff2|otf))
  static_files: _build/html/\1
  upload: _build/html/(.*\.(eot|svg|ttf|woff|woff2|otf))

# javascript
- url: /(.*\.js)
  mime_type: text/javascript
  static_files: _build/html/\1
  upload: _build/html/(.*\.js)

# plain text source
- url: /(.*\.txt)
  mime_type: text/plain
  static_files: _build/html/\1
  upload: _build/html/(.*\.txt)

# images
- url: /_images/(.*\.(gif|png|jpg|ico))
  static_files: _build/html/_images/\1
  upload: _build/html/_images/(.*\.(gif|png|jpg|ico))

# redirect en/latest traffic
- url: /en/latest/(.*\.html)<commit_msg>upload .py files<commit_after># application: simpegdocs
# version: 1
runtime: python27
api_version: 1
threadsafe: yes

handlers:

# favicon
- url: /images/logo-block\.ico
  static_files: /images/logo-block.ico
  upload: /images/logo-block\.ico

# all css
- url: /(.*\.css)
  mime_type: text/css
  static_files: _build/html/\1
  upload: _build/html/(.*\.css)

# webfonts
- url: /(.*\.(eot|svg|ttf|woff|woff2|otf))
  static_files: _build/html/\1
  upload: _build/html/(.*\.(eot|svg|ttf|woff|woff2|otf))

# javascript
- url: /(.*\.js)
  mime_type: text/javascript
  static_files: _build/html/\1
  upload: _build/html/(.*\.js)

# plain text source
- url: /(.*\.txt)
  mime_type: text/plain
  static_files: _build/html/\1
  upload: _build/html/(.*\.txt)

  # python source files
- url: /(.*\.py)
  static_files: _build/html/\1
  upload: _build/html/(.*\.py)

# images
- url: /_images/(.*\.(gif|png|jpg|ico))
  static_files: _build/html/_images/\1
  upload: _build/html/_images/(.*\.(gif|png|jpg|ico))

# redirect en/latest traffic
- url: /en/latest/(.*\.html)
{'fraction_non_alphanumeric': 0.2028985507246377, 'fraction_numerical': 0.011494252873563218, 'mean_word_length': 3.323974082073434, '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': '2073584', 'n_tokens_mistral': 854, 'n_tokens_neox': 815, 'n_words': 146}