| @@ -5,7 +5,7 @@ module Docs · 4 unmodified lines |
| 5 | self.root_path = 'guide/overview/index.html' | 5 | self.root_path = 'guide/overview/index.html' |
| 6 | self.links = { | 6 | self.links = { |
| 7 | home: 'https://cordova.apache.org/', | 7 | home: 'https://cordova.apache.org/', |
| 8 | code: 'https://git-wip-us.apache.org/repos/asf/cordova-cli.git' | 8 | code: 'https://github.com/apache/cordova' |
| 9 | } | 9 | } |
| 10 | | 10 | |
| 11 | html_filters.push 'cordova/entries', 'cordova/clean_html' | 11 | html_filters.push 'cordova/entries', 'cordova/clean_html' |
| @@ -24,23 +24,28 @@ module Docs · 12 unmodified lines |
| 24 | end | 24 | end |
| 25 | | 25 | |
| 26 | options[:attribution] = <<-HTML | 26 | options[:attribution] = <<-HTML |
| 27 | © 2012–2018 The Apache Software Foundation<br> | 27 | © 2012, 2013, 2015 The Apache Software Foundation<br> |
| 28 | Licensed under the Apache License 2.0. | 28 | Licensed under the Apache License 2.0. |
| 29 | HTML | 29 | HTML |
| 30 | | 30 | |
| | 31 | version '9' do |
| | 32 | self.release = '9.0.0' |
| | 33 | self.base_url = "https://cordova.apache.org/docs/en/#{self.version}.x/" |
| | 34 | end |
| | 35 | |
| 31 | version '8' do | 36 | version '8' do |
| 32 | self.release = '8.1.2' | 37 | self.release = '8.1.2' |
| 33 | self.base_url = 'https://cordova.apache.org/docs/en/8.x/' | 38 | self.base_url = "https://cordova.apache.org/docs/en/#{self.version}.x/" |
| 34 | end | 39 | end |
| 35 | | 40 | |
| 36 | version '7' do | 41 | version '7' do |
| 37 | self.release = '7.1.0' | 42 | self.release = '7.1.0' |
| 38 | self.base_url = 'https://cordova.apache.org/docs/en/7.x/' | 43 | self.base_url = "https://cordova.apache.org/docs/en/#{self.version}.x/" |
| 39 | end | 44 | end |
| 40 | | 45 | |
| 41 | version '6' do | 46 | version '6' do |
| 42 | self.release = '6.5.0' | 47 | self.release = '6.5.0' |
| 43 | self.base_url = 'https://cordova.apache.org/docs/en/6.x/' | 48 | self.base_url = "https://cordova.apache.org/docs/en/#{self.version}.x/" |
| 44 | end | 49 | end |
| 45 | | 50 | |
| 46 | def get_latest_version(opts) | 51 | def get_latest_version(opts) |