History

Update Express documentation (4.15.2)

Thibaut Courouble committed 9 years ago

Commit 05176581 parent 599310a3 files · +6 −5Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +2 −2
  2. lib/docs/filters/express/clean_html.rb +1 −1
  3. lib/docs/scrapers/express.rb +3 −2
assets/javascripts/templates/pages/about_tmpl.coffee+2−2
@@ -232,8 +232,8 @@ credits = [ · 231 unmodified lines
232232 ], [
233233 'Express',
234234 '2016 StrongLoop, IBM, and other expressjs.com contributors.',
235− 'Unknown',
236− 'https://github.com/expressjs/expressjs.com/issues/413'
235+ 'CC BY-SA',
236+ 'https://raw.githubusercontent.com/expressjs/expressjs.com/gh-pages/LICENSE.md'
237237 ], [
238238 'Fish',
239239 '2005-2009 Axel Liljencrantz',
lib/docs/filters/express/clean_html.rb+1−1
@@ -6,7 +6,7 @@ module Docs · 5 unmodified lines
66 node.before(node.children).remove
77 end
88
9− doc.child.remove while doc.child.name != 'h1'
9+ @doc = at_css('#page-doc') unless root_page?
1010
1111 at_css('h1').remove if root_page?
1212
lib/docs/scrapers/express.rb+3−2
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
22 class Express < UrlScraper
33 self.name = 'Express'
44 self.type = 'express'
5− self.release = '4.14.0'
5+ self.release = '4.15.2'
66 self.base_url = 'http://expressjs.com/en/'
77 self.root_path = '4x/api.html'
88 self.initial_paths = %w(
@@ -26,7 +26,8 @@ module Docs · 17 unmodified lines
2626 /\Aadvanced/ ]
2727
2828 options[:attribution] = <<-HTML
29− &copy; 2016 StrongLoop, IBM, and other expressjs.com contributors.
29+ &copy; 2016 StrongLoop, IBM, and other expressjs.com contributors.<br>
30+ Licensed under the Creative Commons Attribution-ShareAlike License v3.0.
3031 HTML
3132 end
3233 end

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t