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