<commit_before>handlers:

- url: /favicon.ico
  static_files: docs/favicon.ico
  upload: docs/favicon.ico
  application_readable: True
  mime_type: image/x-icon

- url: /robots.txt
  static_files: docs/robots-blockall.txt
  upload: docs/robots-blockall.txt
  application_readable: True
  mime_type: text/plain

# To avoid: "Could not guess mimetype for docs/schemaorg.owl.  Using application/octet-stream."
- url: /docs/schema_org_rdfa.html
  static_files: data/schema.rdfa
  upload: data/schema.rdfa
  application_readable: True
  mime_type: text/html

- url: /docs/jsonldcontext.json.*
  script: sdoapp.app

- url: /docs/full.*.html
  script: sdoapp.app

- url: /docs/schemas.html
  script: sdoapp.app

- url: /docs/developers.html
  script: sdoapp.app

- url: /docs/tree.json.*
  script: sdoapp.app

- url: /admin/refresh
  login: required
  script: sdoapp.app

# Use for /docs when PAGESTOREMODE not set to CLOUDSTORE
#- url: /docs<commit_msg>Fixedes to static docs pathed items<commit_after>handlers:

- url: /robots.txt
  static_files: site/docs/robots.txt
  upload: site/docs/robots.txt
  application_readable: True
  mime_type: text/plain

- url: /favicon.ico
  static_files: site/docs/favicon.ico
  upload: site/docs/favicon.ico
  application_readable: True
  mime_type: image/x-icon

# To avoid: "Could not guess mimetype for docs/schemaorg.owl.  Using application/octet-stream."
- url: /docs/schema_org_rdfa.html
  static_files: site/data/schema.rdfa
  upload: site/data/schema.rdfa
  application_readable: True
  mime_type: text/html

- url: /docs/jsonldcontext.json.*
  script: sdoapp.app

- url: /docs/full.*.html
  script: sdoapp.app

- url: /docs/schemas.html
  script: sdoapp.app

- url: /docs/developers.html
  script: sdoapp.app

- url: /docs/tree.json.*
  script: sdoapp.app

- url: /admin/refresh
  login: required
  script: sdoapp.app

# Use for /docs when PAGESTOREMODE not set to CLOUDSTORE
#- url: /docs
{'fraction_non_alphanumeric': 0.11721991701244813, 'fraction_numerical': 0.0, 'mean_word_length': 3.5495283018867925, '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': '1916396', 'n_tokens_mistral': 757, 'n_tokens_neox': 729, 'n_words': 160}