Unified · Split
| @@ -15,7 +15,10 @@ module Docs · 14 unmodified lines | ||
| 15 | 15 | |
| 16 | 16 | @doc = at_css('#page-doc') unless root_page? |
| 17 | 17 | |
| 18 | − at_css('h1').remove if root_page? | |
| 18 | + if root_page? | |
| 19 | + at_css('h1').remove | |
| 20 | + css('> header', '#menu').remove | |
| 21 | + end | |
| 19 | 22 | |
| 20 | 23 | # Put id attributes on headings |
| 21 | 24 | css('h2 + a[name]').each do |node| |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Express < UrlScraper |
| 3 | 3 | self.name = 'Express' |
| 4 | 4 | self.type = 'express' |
| 5 | − self.release = '4.15.4' | |
| 5 | + self.release = '4.16.1' | |
| 6 | 6 | self.base_url = 'http://expressjs.com/en/' |
| 7 | 7 | self.root_path = '4x/api.html' |
| 8 | 8 | self.initial_paths = %w( |