diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 3a06eb9f..a8db21d1 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -232,8 +232,8 @@ credits = [ ], [ 'Express', '2016 StrongLoop, IBM, and other expressjs.com contributors.', - 'Unknown', - 'https://github.com/expressjs/expressjs.com/issues/413' + 'CC BY-SA', + 'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md' ], [ 'Fish', '2005-2009 Axel Liljencrantz', diff --git a/lib/docs/filters/express/clean_html.rb b/lib/docs/filters/express/clean_html.rb index 75b532a4..7036d6e7 100644 --- a/lib/docs/filters/express/clean_html.rb +++ b/lib/docs/filters/express/clean_html.rb @@ -6,7 +6,7 @@ module Docs node.before(node.children).remove end - doc.child.remove while doc.child.name != 'h1' + @doc = at_css('#page-doc') unless root_page? at_css('h1').remove if root_page? diff --git a/lib/docs/scrapers/express.rb b/lib/docs/scrapers/express.rb index ac0194a3..ef29a997 100644 --- a/lib/docs/scrapers/express.rb +++ b/lib/docs/scrapers/express.rb @@ -2,7 +2,7 @@ module Docs class Express < UrlScraper self.name = 'Express' self.type = 'express' - self.release = '4.14.0' + self.release = '4.15.2' self.base_url = 'http://expressjs.com/en/' self.root_path = '4x/api.html' self.initial_paths = %w( @@ -26,7 +26,8 @@ module Docs /\Aadvanced/ ] options[:attribution] = <<-HTML - © 2016 StrongLoop, IBM, and other expressjs.com contributors. + © 2016 StrongLoop, IBM, and other expressjs.com contributors.
+ Licensed under the Creative Commons Attribution-ShareAlike License v3.0. HTML end end