| @@ -5,7 +5,7 @@ module Docs · 4 unmodified lines |
| 5 | 5 | self.root_path = 'guide/overview/index.html' |
| 6 | 6 | self.links = { |
| 7 | 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 | 11 | html_filters.push 'cordova/entries', 'cordova/clean_html' |
| @@ -24,23 +24,28 @@ module Docs · 12 unmodified lines |
| 24 | 24 | end |
| 25 | 25 | |
| 26 | 26 | options[:attribution] = <<-HTML |
| 27 | | − © 2012–2018 The Apache Software Foundation<br> |
| 27 | + © 2012, 2013, 2015 The Apache Software Foundation<br> |
| 28 | 28 | Licensed under the Apache License 2.0. |
| 29 | 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 | 36 | version '8' do |
| 32 | 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 | 39 | end |
| 35 | 40 | |
| 36 | 41 | version '7' do |
| 37 | 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 | 44 | end |
| 40 | 45 | |
| 41 | 46 | version '6' do |
| 42 | 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 | 49 | end |
| 45 | 50 | |
| 46 | 51 | def get_latest_version(opts) |