|
|
@@ -2,9 +2,13 @@ module Docs
|
|
|
class Express < UrlScraper
|
|
|
self.name = 'Express'
|
|
|
self.type = 'express'
|
|
|
- self.release = '4.13.0'
|
|
|
- self.base_url = 'http://expressjs.com/'
|
|
|
+ self.release = '4.13.4'
|
|
|
+ self.base_url = 'http://expressjs.com/en/'
|
|
|
self.root_path = '4x/api.html'
|
|
|
+ self.initial_paths = %w(
|
|
|
+ starter/installing.html
|
|
|
+ guide/routing.html
|
|
|
+ advanced/developing-template-engines.html )
|
|
|
self.links = {
|
|
|
home: 'http://expressjs.com/',
|
|
|
code: 'https://github.com/strongloop/express/'
|
|
|
@@ -19,12 +23,10 @@ module Docs
|
|
|
options[:only_patterns] = [
|
|
|
/\Astarter/,
|
|
|
/\Aguide/,
|
|
|
- /\Aadvanced/
|
|
|
- ]
|
|
|
+ /\Aadvanced/ ]
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
- © 2009–2015 TJ Holowaychuk<br>
|
|
|
- Licensed under the MIT License.
|
|
|
+ © 2016 StrongLoop, IBM, and other expressjs.com contributors.
|
|
|
HTML
|
|
|
end
|
|
|
end
|