Update Express.js documentation (4.8.8)

pull/129/head
Thibaut 11 years ago
parent 5079756d87
commit b0aaa11b95

@ -7,8 +7,10 @@ module Docs
doc.children.each_with_object [] do |node, entries|
if node.name == 'h2'
type = node.content
entries << [type, node['id'], 'Application'] if type == 'Middleware'
next
elsif node.name == 'h3'
next if type == 'Middleware'
name = node.content.strip
name.sub! %r{\(.+\)}, '()'

@ -2,7 +2,7 @@ module Docs
class Express < UrlScraper
self.name = 'Express'
self.type = 'express'
self.version = '4.8.7'
self.version = '4.8.8'
self.base_url = 'http://expressjs.com/4x/api.html'
html_filters.push 'express/clean_html', 'express/entries', 'title'

Loading…
Cancel
Save