|
|
|
@ -2,11 +2,11 @@ module Docs
|
|
|
|
|
class Nginx < UrlScraper
|
|
|
|
|
self.name = 'nginx'
|
|
|
|
|
self.type = 'nginx'
|
|
|
|
|
self.release = '1.15.5'
|
|
|
|
|
self.release = '1.17.2'
|
|
|
|
|
self.base_url = 'https://nginx.org/en/docs/'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'https://nginx.org/',
|
|
|
|
|
code: 'http://hg.nginx.org/nginx'
|
|
|
|
|
code: 'https://hg.nginx.org/nginx'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html_filters.push 'nginx/clean_html', 'nginx/entries'
|
|
|
|
@ -21,8 +21,8 @@ module Docs
|
|
|
|
|
options[:skip_patterns] = [/\/faq\//]
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2002-2018 Igor Sysoev<br>
|
|
|
|
|
© 2011-2018 Nginx, Inc.<br>
|
|
|
|
|
© 2002-2019 Igor Sysoev<br>
|
|
|
|
|
© 2011-2019 Nginx, Inc.<br>
|
|
|
|
|
Licensed under the BSD License.
|
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|