|
|
|
@ -2,11 +2,11 @@ module Docs
|
|
|
|
|
class Cordova < UrlScraper
|
|
|
|
|
self.name = 'Cordova'
|
|
|
|
|
self.type = 'cordova'
|
|
|
|
|
self.release = '5.4.0'
|
|
|
|
|
self.base_url = "http://cordova.apache.org/docs/en/#{release}/"
|
|
|
|
|
self.release = '6.0.0'
|
|
|
|
|
self.base_url = "https://cordova.apache.org/docs/en/#{release}/"
|
|
|
|
|
self.root_path = 'index.html'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'http://cordova.apache.org/'
|
|
|
|
|
home: 'https://cordova.apache.org/'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html_filters.push 'cordova/clean_html', 'cordova/entries', 'title'
|
|
|
|
@ -17,7 +17,7 @@ module Docs
|
|
|
|
|
options[:skip] = %w(page_index.html)
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
|
© 2012-2015 The Apache Software Foundation<br>
|
|
|
|
|
© 2012–2016 The Apache Software Foundation<br>
|
|
|
|
|
Licensed under the Apache License 2.0.
|
|
|
|
|
HTML
|
|
|
|
|
end
|
|
|
|
|