Update nginx documentation (1.11.3)

pull/447/merge
Thibaut Courouble 9 years ago
parent f57cc8e657
commit 6c21dc85ba

@ -1,6 +0,0 @@
#= require views/pages/base
class app.views.NginxPage extends app.views.BasePage
prepare: ->
@highlightCode @findAllByTag('pre'), 'nginx'
return

@ -29,6 +29,7 @@ app.views.MochaPage =
app.views.ModernizrPage =
app.views.MomentPage =
app.views.MongoosePage =
app.views.NginxPage =
app.views.NodePage =
app.views.PerlPage =
app.views.PhalconPage =

@ -26,6 +26,10 @@ module Docs
node.name = 'code'
end
css('pre').each do |node|
node['data-language'] = 'nginx'
end
doc
end
end

@ -2,10 +2,10 @@ module Docs
class Nginx < UrlScraper
self.name = 'nginx'
self.type = 'nginx'
self.release = '1.11.0'
self.base_url = 'http://nginx.org/en/docs/'
self.release = '1.11.3'
self.base_url = 'https://nginx.org/en/docs/'
self.links = {
home: 'http://nginx.org/',
home: 'https://nginx.org/',
code: 'http://hg.nginx.org/nginx'
}

Loading…
Cancel
Save