<commit_before>module Docs
  class Nginx < UrlScraper
    self.name = 'nginx'
    self.type = 'nginx'
    self.version = '1.7.7'
    self.base_url = 'http://nginx.org/en/docs/'

    html_filters.push 'nginx/clean_html', 'nginx/entries'

    options[:container] = '#content'

    options[:skip] = %w(
      contributing_changes.html
      dirindex.html
      varindex.html)

    options[:skip_patterns] = [/\/faq\//]

    options[:attribution] = <<-HTML
      &copy; 2002-2014 <NAME><br>
      &copy; 2011-2014 Nginx, Inc.<br>
      Licensed under the BSD License.
    HTML
  end
end
<commit_msg>Update nginx documentation (1.7.8)<commit_after>module Docs
  class Nginx < UrlScraper
    self.name = 'nginx'
    self.type = 'nginx'
    self.version = '1.7.8'
    self.base_url = 'http://nginx.org/en/docs/'

    html_filters.push 'nginx/clean_html', 'nginx/entries'

    options[:container] = '#content'

    options[:skip] = %w(
      contributing_changes.html
      dirindex.html
      varindex.html)

    options[:skip_patterns] = [/\/faq\//]

    options[:attribution] = <<-HTML
      &copy; 2002-2014 <NAME><br>
      &copy; 2011-2014 Nginx, Inc.<br>
      Licensed under the BSD License.
    HTML
  end
end

{'fraction_non_alphanumeric': 0.1486374896779521, 'fraction_numerical': 0.033856317093311314, 'mean_word_length': 2.607142857142857, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 9, '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': '4893885', 'n_tokens_mistral': 476, 'n_tokens_neox': 435, 'n_words': 87}