History

Update nginx documentation (1.7.11)

Thibaut committed 11 years ago

Commit d1b252c1 parent 7f34f683 files · +9 −4Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. assets/stylesheets/pages/_nginx.scss +1 −0
  3. lib/docs/scrapers/nginx.rb +7 −3
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -252,7 +252,7 @@ credits = [ · 251 unmodified lines
252252 'https://github.com/LearnBoost/mongoose/blob/master/README.md#license'
253253 ], [
254254 'nginx',
255− '2002-2014 Igor Sysoev<br>&copy; 2011-2014 Nginx, Inc.',
255+ '2002-2015 Igor Sysoev<br>&copy; 2011-2015 Nginx, Inc.',
256256 'BSD',
257257 'http://nginx.org/LICENSE'
258258 ], [
assets/stylesheets/pages/_nginx.scss+1−0
@@ -2,4 +2,5 @@ · 1 unmodified line
22 h4 { @extend %block-heading; }
33 .note { @extend %note; }
44 .directive { margin: 2.5em 0 1em; }
5+ td > pre { margin: 0; }
56 }
lib/docs/scrapers/nginx.rb+7−3
@@ -2,8 +2,12 @@ module Docs · 1 unmodified line
22 class Nginx < UrlScraper
33 self.name = 'nginx'
44 self.type = 'nginx'
5− self.version = '1.7.9'
5+ self.version = '1.7.11'
66 self.base_url = 'http://nginx.org/en/docs/'
7+ self.links = {
8+ home: 'http://nginx.org/',
9+ code: 'http://hg.nginx.org/nginx'
10+ }
711
812 html_filters.push 'nginx/clean_html', 'nginx/entries'
913
@@ -17,8 +21,8 @@ module Docs · 7 unmodified lines
1721 options[:skip_patterns] = [/\/faq\//]
1822
1923 options[:attribution] = <<-HTML
20− &copy; 2002-2014 Igor Sysoev<br>
21− &copy; 2011-2014 Nginx, Inc.<br>
24+ &copy; 2002-2015 Igor Sysoev<br>
25+ &copy; 2011-2015 Nginx, Inc.<br>
2226 Licensed under the BSD License.
2327 HTML
2428 end