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
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 ], [
lib/docs/filters/cordova/clean_html.rb+1−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Cordova2 class Cordova
3 class CleanHtmlFilter < Filter3 class CleanHtmlFilter < Filter
4 def call4 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
lib/docs/scrapers/cordova.rb+6−1
@@ -24,10 +24,15 @@ module Docs · 23 unmodified lines
24 end24 end
25 25
26 options[:attribution] = <<-HTML26 options[:attribution] = <<-HTML
27 &copy; 2012&ndash;2017 The Apache Software Foundation<br>27 &copy; 2012&ndash;2018 The Apache Software Foundation<br>
28 Licensed under the Apache License 2.0.28 Licensed under the Apache License 2.0.
29 HTML29 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' do36 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/'

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