Przeglądaj źródła

Update Haxe documentation (3.4.7)

Thibaut Courouble 7 lat temu
rodzic
commit
3d5c228f27

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

@@ -304,7 +304,7 @@ credits = [
     'Haxe',
     '2005-2016 Haxe Foundation',
     'MIT',
-    'http://haxe.org/foundation/open-source.html'
+    'https://haxe.org/foundation/open-source.html'
   ], [
     'Homebrew',
     '2009-present Homebrew contributors',

+ 11 - 11
lib/docs/scrapers/haxe.rb

@@ -2,8 +2,8 @@ module Docs
   class Haxe < UrlScraper
     self.name = 'Haxe'
     self.type = 'haxe'
-    self.release = '3.4.1'
-    self.base_url = 'http://api.haxe.org/'
+    self.release = '3.4.7'
+    self.base_url = 'https://api.haxe.org/'
 
     html_filters.push 'haxe/clean_html', 'haxe/entries'
 
@@ -16,7 +16,7 @@ module Docs
 
     version do
       self.links = {
-        home: 'http://haxe.org',
+        home: 'https://haxe.org',
         code: 'https://github.com/HaxeFoundation/haxe'
       }
 
@@ -24,35 +24,35 @@ module Docs
     end
 
     version 'C++' do
-      self.base_url = 'http://api.haxe.org/cpp/'
+      self.base_url = 'https://api.haxe.org/cpp/'
     end
 
     version 'C#' do
-      self.base_url = 'http://api.haxe.org/cs/'
+      self.base_url = 'https://api.haxe.org/cs/'
     end
 
     version 'Flash' do
-      self.base_url = 'http://api.haxe.org/flash/'
+      self.base_url = 'https://api.haxe.org/flash/'
     end
 
     version 'Java' do
-      self.base_url = 'http://api.haxe.org/java/'
+      self.base_url = 'https://api.haxe.org/java/'
     end
 
     version 'JavaScript' do
-      self.base_url = 'http://api.haxe.org/js/'
+      self.base_url = 'https://api.haxe.org/js/'
     end
 
     version 'Neko' do
-      self.base_url = 'http://api.haxe.org/neko/'
+      self.base_url = 'https://api.haxe.org/neko/'
     end
 
     version 'PHP' do
-      self.base_url = 'http://api.haxe.org/php/'
+      self.base_url = 'https://api.haxe.org/php/'
     end
 
     version 'Python' do
-      self.base_url = 'http://api.haxe.org/python/'
+      self.base_url = 'https://api.haxe.org/python/'
     end
   end
 end