Update Cordova scraper

pull/205/head
Thibaut 10 years ago
parent b294075d92
commit 69d0a28f98

@ -112,7 +112,7 @@ credits = [
'https://raw.github.com/jashkenas/coffee-script/master/LICENSE' 'https://raw.github.com/jashkenas/coffee-script/master/LICENSE'
], [ ], [
'Cordova', 'Cordova',
'2012-2014 The Apache Software Foundation', '2012-2015 The Apache Software Foundation',
'Apache', 'Apache',
'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE' 'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE'
], [ ], [

@ -3,8 +3,11 @@ module Docs
self.name = 'Cordova' self.name = 'Cordova'
self.type = 'cordova' self.type = 'cordova'
self.version = '5.0.0' self.version = '5.0.0'
self.base_url = 'http://cordova.apache.org/docs/en/5.0.0/' self.base_url = "http://cordova.apache.org/docs/en/#{version}/"
self.root_path = 'index.html' self.root_path = 'index.html'
self.links = {
home: 'http://cordova.apache.org/'
}
html_filters.push 'cordova/clean_html', 'cordova/entries', 'title' html_filters.push 'cordova/clean_html', 'cordova/entries', 'title'

Loading…
Cancel
Save