History

Update Cordova documentation (8.1.2)

Thibaut Courouble committed 8 years ago

Commit 6ff89591 parent 459ecfd3 files · +8 −3Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/cordova/clean_html.rb +1 −1
  3. lib/docs/scrapers/cordova.rb +6 −1
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -192,7 +192,7 @@ credits = [ · 191 unmodified lines
192192 'https://raw.githubusercontent.com/jashkenas/coffeescript/master/LICENSE'
193193 ], [
194194 'Cordova',
195− '2012-2017 The Apache Software Foundation',
195+ '2012-2018 The Apache Software Foundation',
196196 'Apache',
197197 'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE'
198198 ], [
lib/docs/filters/cordova/clean_html.rb+1−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
22 class Cordova
33 class CleanHtmlFilter < Filter
44 def call
5− @doc = at_css('.page-content > div')
5+ @doc = at_css('#page-toc-source') || at_css('.page-content > div')
66
77 at_css('h1').content = 'Apache Cordova' if root_page?
88
lib/docs/scrapers/cordova.rb+6−1
@@ -24,10 +24,15 @@ module Docs · 23 unmodified lines
2424 end
2525
2626 options[:attribution] = <<-HTML
27− &copy; 2012&ndash;2017 The Apache Software Foundation<br>
27+ &copy; 2012&ndash;2018 The Apache Software Foundation<br>
2828 Licensed under the Apache License 2.0.
2929 HTML
3030
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+
3136 version '7' do
3237 self.release = '7.1.0'
3338 self.base_url = 'https://cordova.apache.org/docs/en/7.x/'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t