Update Express documentation (4.15.2)

pull/602/head
Thibaut Courouble 8 years ago
parent 599310aee8
commit 0517658fd4

@ -232,8 +232,8 @@ credits = [
], [ ], [
'Express', 'Express',
'2016 StrongLoop, IBM, and other expressjs.com contributors.', '2016 StrongLoop, IBM, and other expressjs.com contributors.',
'Unknown', 'CC BY-SA',
'https://github.com/expressjs/expressjs.com/issues/413' 'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md'
], [ ], [
'Fish', 'Fish',
'2005-2009 Axel Liljencrantz', '2005-2009 Axel Liljencrantz',

@ -6,7 +6,7 @@ module Docs
node.before(node.children).remove node.before(node.children).remove
end end
doc.child.remove while doc.child.name != 'h1' @doc = at_css('#page-doc') unless root_page?
at_css('h1').remove if root_page? at_css('h1').remove if root_page?

@ -2,7 +2,7 @@ module Docs
class Express < UrlScraper class Express < UrlScraper
self.name = 'Express' self.name = 'Express'
self.type = 'express' self.type = 'express'
self.release = '4.14.0' self.release = '4.15.2'
self.base_url = 'http://expressjs.com/en/' self.base_url = 'http://expressjs.com/en/'
self.root_path = '4x/api.html' self.root_path = '4x/api.html'
self.initial_paths = %w( self.initial_paths = %w(
@ -26,7 +26,8 @@ module Docs
/\Aadvanced/ ] /\Aadvanced/ ]
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2016 StrongLoop, IBM, and other expressjs.com contributors. &copy; 2016 StrongLoop, IBM, and other expressjs.com contributors.<br>
Licensed under the Creative Commons Attribution-ShareAlike License v3.0.
HTML HTML
end end
end end

Loading…
Cancel
Save