29 lines · 675 B · Ruby
RawDownload
module Docs  class Nginx < UrlScraper    self.name = 'nginx'    self.type = 'nginx'    self.release = '1.13.10'    self.base_url = 'https://nginx.org/en/docs/'    self.links = {      home: 'https://nginx.org/',      code: 'http://hg.nginx.org/nginx'    }     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-2018 Igor Sysoev<br>      &copy; 2011-2018 Nginx, Inc.<br>      Licensed under the BSD License.    HTML  endend

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t