Skip to content

Commit 232896c

Browse files
committed
Update nginx documentation (1.22.0)
1 parent 93d6b90 commit 232896c

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ credits = [
579579
'https://github.com/LearnBoost/mongoose/blob/master/README.md#license'
580580
], [
581581
'nginx',
582-
'2002-2021 Igor Sysoev<br>&copy; 2011-2021 Nginx, Inc.',
582+
'2002-2021 Igor Sysoev<br>&copy; 2011-2022 Nginx, Inc.',
583583
'BSD',
584584
'http://nginx.org/LICENSE'
585585
], [

lib/docs/filters/nginx/entries.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ def additional_entries
2121
css('h1 + ul a').each_with_object [] do |node, entries|
2222
name = node.content.strip
2323
next if name =~ /\A[A-Z]/ || name.start_with?('/')
24+
mod = get_name
25+
name = "#{name} (#{mod})" unless mod.match?(/ngx_http/)
2426

2527
id = node['href'].remove('#')
2628
next if id.blank?

lib/docs/scrapers/nginx.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Docs
22
class Nginx < UrlScraper
33
self.name = 'nginx'
44
self.type = 'nginx'
5-
self.release = '1.21.0'
5+
self.release = '1.22.0'
66
self.base_url = 'https://nginx.org/en/docs/'
77
self.links = {
88
home: 'https://nginx.org/',
@@ -23,7 +23,7 @@ class Nginx < UrlScraper
2323
# http://nginx.org/LICENSE
2424
options[:attribution] = <<-HTML
2525
&copy; 2002-2021 Igor Sysoev<br>
26-
&copy; 2011-2021 Nginx, Inc.<br>
26+
&copy; 2011-2022 Nginx, Inc.<br>
2727
Licensed under the BSD License.
2828
HTML
2929

0 commit comments

Comments
 (0)