History

Update Express documentation (4.13.0)

Thibaut committed 11 years ago

Commit 6f4a5661 parent ffdeceb2 files · +6 −1Browse files

Unified · Split

2 files
  1. lib/docs/filters/express/entries.rb +1 −0
  2. lib/docs/scrapers/express.rb +5 −1
lib/docs/filters/express/entries.rb+1−0
@@ -28,6 +28,7 @@ module Docs · 27 unmodified lines
2828 next if type == 'Middleware'
2929 name = node.content.strip
3030 name.sub! %r{\(.+\)}, '()'
31+ next if name == 'Methods' || name == 'Properties'
3132
3233 entries << [name, node['id'], type]
3334 end
lib/docs/scrapers/express.rb+5−1
@@ -2,9 +2,13 @@ module Docs · 1 unmodified line
22 class Express < UrlScraper
33 self.name = 'Express'
44 self.type = 'express'
5− self.version = '4.12.0'
5+ self.version = '4.13.0'
66 self.base_url = 'http://expressjs.com/'
77 self.root_path = '4x/api.html'
8+ self.links = {
9+ home: 'http://expressjs.com/',
10+ code: 'https://github.com/strongloop/express/'
11+ }
812
913 html_filters.push 'express/clean_html', 'express/entries', 'title'
1014