From d1b252c4f77c9054d786df3b6c71e7f34c846b2d Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sun, 29 Mar 2015 10:49:34 -0400 Subject: [PATCH] Update nginx documentation (1.7.11) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- assets/stylesheets/pages/_nginx.scss | 1 + lib/docs/scrapers/nginx.rb | 10 +++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index e29a9a44..b30cec0b 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -252,7 +252,7 @@ credits = [ 'https://github.com/LearnBoost/mongoose/blob/master/README.md#license' ], [ 'nginx', - '2002-2014 Igor Sysoev
© 2011-2014 Nginx, Inc.', + '2002-2015 Igor Sysoev
© 2011-2015 Nginx, Inc.', 'BSD', 'http://nginx.org/LICENSE' ], [ diff --git a/assets/stylesheets/pages/_nginx.scss b/assets/stylesheets/pages/_nginx.scss index 327811e8..57cdba97 100644 --- a/assets/stylesheets/pages/_nginx.scss +++ b/assets/stylesheets/pages/_nginx.scss @@ -2,4 +2,5 @@ h4 { @extend %block-heading; } .note { @extend %note; } .directive { margin: 2.5em 0 1em; } + td > pre { margin: 0; } } diff --git a/lib/docs/scrapers/nginx.rb b/lib/docs/scrapers/nginx.rb index 301bb66c..7768d456 100644 --- a/lib/docs/scrapers/nginx.rb +++ b/lib/docs/scrapers/nginx.rb @@ -2,8 +2,12 @@ module Docs class Nginx < UrlScraper self.name = 'nginx' self.type = 'nginx' - self.version = '1.7.9' + self.version = '1.7.11' self.base_url = 'http://nginx.org/en/docs/' + self.links = { + home: 'http://nginx.org/', + code: 'http://hg.nginx.org/nginx' + } html_filters.push 'nginx/clean_html', 'nginx/entries' @@ -17,8 +21,8 @@ module Docs options[:skip_patterns] = [/\/faq\//] options[:attribution] = <<-HTML - © 2002-2014 Igor Sysoev
- © 2011-2014 Nginx, Inc.
+ © 2002-2015 Igor Sysoev
+ © 2011-2015 Nginx, Inc.
Licensed under the BSD License. HTML end