ソースを参照

Update Cordova documentation (6.0.0)

Thibaut Courouble 9 年 前
コミット
073fb8f9bc

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -116,7 +116,7 @@ credits = [
     'https://raw.githubusercontent.com/jashkenas/coffee-script/master/LICENSE'
   ], [
     'Cordova',
-    '2012-2015 The Apache Software Foundation',
+    '2012-2016 The Apache Software Foundation',
     'Apache',
     'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE'
   ], [

+ 4 - 4
lib/docs/scrapers/cordova.rb

@@ -2,11 +2,11 @@ module Docs
   class Cordova < UrlScraper
     self.name = 'Cordova'
     self.type = 'cordova'
-    self.release = '5.4.0'
-    self.base_url = "http://cordova.apache.org/docs/en/#{release}/"
+    self.release = '6.0.0'
+    self.base_url = "https://cordova.apache.org/docs/en/#{release}/"
     self.root_path = 'index.html'
     self.links = {
-      home: 'http://cordova.apache.org/'
+      home: 'https://cordova.apache.org/'
     }
 
     html_filters.push 'cordova/clean_html', 'cordova/entries', 'title'
@@ -17,7 +17,7 @@ module Docs
     options[:skip] = %w(page_index.html)
 
     options[:attribution] = <<-HTML
-      &copy; 2012-2015 The Apache Software Foundation<br>
+      &copy; 2012&ndash;2016 The Apache Software Foundation<br>
       Licensed under the Apache License 2.0.
     HTML
   end