History

Update Express documentation (4.16.1)

Thibaut Courouble committed 9 years ago

Commit e07e03a1 parent 2346b1a2 files · +5 −2Browse files

Unified · Split

2 files
  1. lib/docs/filters/express/clean_html.rb +4 −1
  2. lib/docs/scrapers/express.rb +1 −1
lib/docs/filters/express/clean_html.rb+4−1
@@ -15,7 +15,10 @@ module Docs · 14 unmodified lines
15 15
16 @doc = at_css('#page-doc') unless root_page?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 # Put id attributes on headings23 # Put id attributes on headings
21 css('h2 + a[name]').each do |node|24 css('h2 + a[name]').each do |node|
lib/docs/scrapers/express.rb+1−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Express < UrlScraper2 class Express < UrlScraper
3 self.name = 'Express'3 self.name = 'Express'
4 self.type = 'express'4 self.type = 'express'
5 self.release = '4.15.4'5 self.release = '4.16.1'
6 self.base_url = 'http://expressjs.com/en/'6 self.base_url = 'http://expressjs.com/en/'
7 self.root_path = '4x/api.html'7 self.root_path = '4x/api.html'
8 self.initial_paths = %w(8 self.initial_paths = %w(