| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line |
| 2 | class Cordova < UrlScraper | 2 | class Cordova < UrlScraper |
| 3 | self.name = 'Cordova' | 3 | self.name = 'Cordova' |
| 4 | self.type = 'cordova' | 4 | self.type = 'cordova' |
| 5 | self.version = '5.1.1' | 5 | self.version = '5.4.0' |
| 6 | self.base_url = "http://cordova.apache.org/docs/en/#{version}/" | 6 | self.base_url = "http://cordova.apache.org/docs/en/#{version}/" |
| 7 | self.root_path = 'index.html' | 7 | self.root_path = 'index.html' |
| 8 | self.links = { | 8 | self.links = { |
| @@ -11,10 +11,10 @@ module Docs · 2 unmodified lines |
| 11 | | 11 | |
| 12 | html_filters.push 'cordova/clean_html', 'cordova/entries', 'title' | 12 | html_filters.push 'cordova/clean_html', 'cordova/entries', 'title' |
| 13 | | 13 | |
| 14 | options[:container] = ->(filter) { filter.root_page? ? '#home' : '#content' } | 14 | options[:container] = ->(filter) { filter.root_page? ? '#home' : '#page-toc-source' } |
| 15 | options[:title] = false | 15 | options[:title] = false |
| 16 | options[:root_title] = 'Apache Cordova' | 16 | options[:root_title] = 'Apache Cordova' |
| 17 | options[:skip] = %w(_index.html guide_support_index.md.html) | 17 | options[:skip] = %w(page_index.html) |
| 18 | | 18 | |
| 19 | options[:attribution] = <<-HTML | 19 | options[:attribution] = <<-HTML |
| 20 | © 2012-2015 The Apache Software Foundation<br> | 20 | © 2012-2015 The Apache Software Foundation<br> |