Unified · Split
| @@ -232,8 +232,8 @@ credits = [ · 231 unmodified lines | |||
| 232 | ], [ | 232 | ], [ |
| 233 | 'Express', | 233 | 'Express', |
| 234 | '2016 StrongLoop, IBM, and other expressjs.com contributors.', | 234 | '2016 StrongLoop, IBM, and other expressjs.com contributors.', |
| 235 | 'Unknown', | 235 | 'CC BY-SA', |
| 236 | 'https://github.com/expressjs/expressjs.com/issues/413' | 236 | 'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md' |
| 237 | ], [ | 237 | ], [ |
| 238 | 'Fish', | 238 | 'Fish', |
| 239 | '2005-2009 Axel Liljencrantz', | 239 | '2005-2009 Axel Liljencrantz', |
| @@ -6,7 +6,7 @@ module Docs · 5 unmodified lines | |||
| 6 | node.before(node.children).remove | 6 | node.before(node.children).remove |
| 7 | end | 7 | end |
| 8 | 8 | ||
| 9 | doc.child.remove while doc.child.name != 'h1' | 9 | @doc = at_css('#page-doc') unless root_page? |
| 10 | 10 | ||
| 11 | at_css('h1').remove if root_page? | 11 | at_css('h1').remove if root_page? |
| 12 | 12 | ||
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | |||
| 2 | class Express < UrlScraper | 2 | class Express < UrlScraper |
| 3 | self.name = 'Express' | 3 | self.name = 'Express' |
| 4 | self.type = 'express' | 4 | self.type = 'express' |
| 5 | self.release = '4.14.0' | 5 | self.release = '4.15.2' |
| 6 | self.base_url = 'http://expressjs.com/en/' | 6 | self.base_url = 'http://expressjs.com/en/' |
| 7 | self.root_path = '4x/api.html' | 7 | self.root_path = '4x/api.html' |
| 8 | self.initial_paths = %w( | 8 | self.initial_paths = %w( |
| @@ -26,7 +26,8 @@ module Docs · 17 unmodified lines | |||
| 26 | /\Aadvanced/ ] | 26 | /\Aadvanced/ ] |
| 27 | 27 | ||
| 28 | options[:attribution] = <<-HTML | 28 | options[:attribution] = <<-HTML |
| 29 | © 2016 StrongLoop, IBM, and other expressjs.com contributors. | 29 | © 2016 StrongLoop, IBM, and other expressjs.com contributors.<br> |
| 30 | Licensed under the Creative Commons Attribution-ShareAlike License v3.0. | ||
| 30 | HTML | 31 | HTML |
| 31 | end | 32 | end |
| 32 | end | 33 | end |