Update nginx documentation (1.13.6)

pull/699/merge
Thibaut Courouble 7 years ago
parent 5e38b42c2c
commit 1ff4e421e3

@ -30,6 +30,10 @@ module Docs
node['data-language'] = 'nginx'
end
css('code code').each do |node|
node.before(node.children).remove
end
doc
end
end

@ -20,7 +20,7 @@ module Docs
def additional_entries
css('h1 + ul a').each_with_object [] do |node, entries|
name = node.content.strip
next if name =~ /\A[A-Z]/
next if name =~ /\A[A-Z]/ || name.start_with?('/')
id = node['href'].remove('#')
next if id.blank?

@ -2,7 +2,7 @@ module Docs
class Nginx < UrlScraper
self.name = 'nginx'
self.type = 'nginx'
self.release = '1.13.4'
self.release = '1.13.6'
self.base_url = 'https://nginx.org/en/docs/'
self.links = {
home: 'https://nginx.org/',

Loading…
Cancel
Save