Unified · Split
| @@ -7,8 +7,10 @@ module Docs · 6 unmodified lines | ||
| 7 | 7 | doc.children.each_with_object [] do |node, entries| |
| 8 | 8 | if node.name == 'h2' |
| 9 | 9 | type = node.content |
| 10 | + entries << [type, node['id'], 'Application'] if type == 'Middleware' | |
| 10 | 11 | next |
| 11 | 12 | elsif node.name == 'h3' |
| 13 | + next if type == 'Middleware' | |
| 12 | 14 | name = node.content.strip |
| 13 | 15 | name.sub! %r{\(.+\)}, '()' |
| 14 | 16 | |
| @@ -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.version = '4.8.7' | |
| 5 | + self.version = '4.8.8' | |
| 6 | 6 | self.base_url = 'http://expressjs.com/4x/api.html' |
| 7 | 7 | |
| 8 | 8 | html_filters.push 'express/clean_html', 'express/entries', 'title' |