Update Cordova documentation (8.1.2)

pull/929/head
Thibaut Courouble 6 years ago
parent 459ecfdfe6
commit 6ff895904f

@ -192,7 +192,7 @@ credits = [
'https://raw.githubusercontent.com/jashkenas/coffeescript/master/LICENSE' 'https://raw.githubusercontent.com/jashkenas/coffeescript/master/LICENSE'
], [ ], [
'Cordova', 'Cordova',
'2012-2017 The Apache Software Foundation', '2012-2018 The Apache Software Foundation',
'Apache', 'Apache',
'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE' 'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE'
], [ ], [

@ -2,7 +2,7 @@ module Docs
class Cordova class Cordova
class CleanHtmlFilter < Filter class CleanHtmlFilter < Filter
def call def call
@doc = at_css('.page-content > div') @doc = at_css('#page-toc-source') || at_css('.page-content > div')
at_css('h1').content = 'Apache Cordova' if root_page? at_css('h1').content = 'Apache Cordova' if root_page?

@ -24,10 +24,15 @@ module Docs
end end
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2012&ndash;2017 The Apache Software Foundation<br> &copy; 2012&ndash;2018 The Apache Software Foundation<br>
Licensed under the Apache License 2.0. Licensed under the Apache License 2.0.
HTML HTML
version '8' do
self.release = '8.1.2'
self.base_url = 'https://cordova.apache.org/docs/en/8.x/'
end
version '7' do version '7' do
self.release = '7.1.0' self.release = '7.1.0'
self.base_url = 'https://cordova.apache.org/docs/en/7.x/' self.base_url = 'https://cordova.apache.org/docs/en/7.x/'

Loading…
Cancel
Save