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
252 'https://github.com/LearnBoost/mongoose/blob/master/README.md#license'252 'https://github.com/LearnBoost/mongoose/blob/master/README.md#license'
253 ], [253 ], [
254 'nginx',254 'nginx',
255 '2002-2014 Igor Sysoev<br>&copy; 2011-2014 Nginx, Inc.',255 '2002-2015 Igor Sysoev<br>&copy; 2011-2015 Nginx, Inc.',
256 'BSD',256 'BSD',
257 'http://nginx.org/LICENSE'257 'http://nginx.org/LICENSE'
258 ], [258 ], [
assets/stylesheets/pages/_nginx.scss+1−0
@@ -2,4 +2,5 @@ · 1 unmodified line
2 h4 { @extend %block-heading; }2 h4 { @extend %block-heading; }
3 .note { @extend %note; }3 .note { @extend %note; }
4 .directive { margin: 2.5em 0 1em; }4 .directive { margin: 2.5em 0 1em; }
5 td > pre { margin: 0; }
5}6}
lib/docs/scrapers/nginx.rb+7−3
@@ -2,8 +2,12 @@ module Docs · 1 unmodified line
2 class Nginx < UrlScraper2 class Nginx < UrlScraper
3 self.name = 'nginx'3 self.name = 'nginx'
4 self.type = 'nginx'4 self.type = 'nginx'
5 self.version = '1.7.9'5 self.version = '1.7.11'
6 self.base_url = 'http://nginx.org/en/docs/'6 self.base_url = 'http://nginx.org/en/docs/'
7 self.links = {
8 home: 'http://nginx.org/',
9 code: 'http://hg.nginx.org/nginx'
10 }
7 11
8 html_filters.push 'nginx/clean_html', 'nginx/entries'12 html_filters.push 'nginx/clean_html', 'nginx/entries'
9 13
@@ -17,8 +21,8 @@ module Docs · 7 unmodified lines
17 options[:skip_patterns] = [/\/faq\//]21 options[:skip_patterns] = [/\/faq\//]
18 22
19 options[:attribution] = <<-HTML23 options[:attribution] = <<-HTML
20 &copy; 2002-2014 Igor Sysoev<br>24 &copy; 2002-2015 Igor Sysoev<br>
21 &copy; 2011-2014 Nginx, Inc.<br>25 &copy; 2011-2015 Nginx, Inc.<br>
22 Licensed under the BSD License.26 Licensed under the BSD License.
23 HTML27 HTML
24 end28 end