Unified · Split
| @@ -192,7 +192,7 @@ credits = [ · 191 unmodified lines | |||
| 192 | 'https://raw.githubusercontent.com/jashkenas/coffeescript/master/LICENSE' | 192 | 'https://raw.githubusercontent.com/jashkenas/coffeescript/master/LICENSE' |
| 193 | ], [ | 193 | ], [ |
| 194 | 'Cordova', | 194 | 'Cordova', |
| 195 | '2012-2017 The Apache Software Foundation', | 195 | '2012-2018 The Apache Software Foundation', |
| 196 | 'Apache', | 196 | 'Apache', |
| 197 | 'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE' | 197 | 'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE' |
| 198 | ], [ | 198 | ], [ |
| @@ -2,7 +2,7 @@ module Docs · 1 unmodified line | |||
| 2 | class Cordova | 2 | class Cordova |
| 3 | class CleanHtmlFilter < Filter | 3 | class CleanHtmlFilter < Filter |
| 4 | def call | 4 | def call |
| 5 | @doc = at_css('.page-content > div') | 5 | @doc = at_css('#page-toc-source') || at_css('.page-content > div') |
| 6 | 6 | ||
| 7 | at_css('h1').content = 'Apache Cordova' if root_page? | 7 | at_css('h1').content = 'Apache Cordova' if root_page? |
| 8 | 8 | ||
| @@ -24,10 +24,15 @@ module Docs · 23 unmodified lines | |||
| 24 | end | 24 | end |
| 25 | 25 | ||
| 26 | options[:attribution] = <<-HTML | 26 | options[:attribution] = <<-HTML |
| 27 | © 2012–2017 The Apache Software Foundation<br> | 27 | © 2012–2018 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 '8' do | ||
| 32 | self.release = '8.1.2' | ||
| 33 | self.base_url = 'https://cordova.apache.org/docs/en/8.x/' | ||
| 34 | end | ||
| 35 | |||
| 31 | version '7' do | 36 | version '7' do |
| 32 | self.release = '7.1.0' | 37 | self.release = '7.1.0' |
| 33 | self.base_url = 'https://cordova.apache.org/docs/en/7.x/' | 38 | self.base_url = 'https://cordova.apache.org/docs/en/7.x/' |