Update haxe.rb

Add all targets / copyright year
pull/810/head
Mark Knol 7 years ago committed by Thibaut Courouble
parent ece5e5b3cc
commit 2c5f9d0627

@ -302,7 +302,7 @@ credits = [
'https://www.haskell.org/ghc/license' 'https://www.haskell.org/ghc/license'
], [ ], [
'Haxe', 'Haxe',
'2005-2016 Haxe Foundation', '2005-2018 Haxe Foundation',
'MIT', 'MIT',
'https://haxe.org/foundation/open-source.html' 'https://haxe.org/foundation/open-source.html'
], [ ], [

@ -10,7 +10,7 @@ module Docs
options[:container] = '.span9' options[:container] = '.span9'
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2005&ndash;2016 Haxe Foundation<br> &copy; 2005&ndash;2018 Haxe Foundation<br>
Licensed under a MIT license. Licensed under a MIT license.
HTML HTML
@ -20,7 +20,7 @@ module Docs
code: 'https://github.com/HaxeFoundation/haxe' code: 'https://github.com/HaxeFoundation/haxe'
} }
options[:skip_patterns] = [/\A(?:cpp|cs|flash|java|js|neko|php|python)/i] options[:skip_patterns] = [/\A(?:cpp|cs|flash|java|js|neko|php|python|lua|hl|sys)/i]
end end
version 'C++' do version 'C++' do
@ -51,6 +51,18 @@ module Docs
self.base_url = 'https://api.haxe.org/php/' self.base_url = 'https://api.haxe.org/php/'
end end
version 'Lua' do
self.base_url = 'https://api.haxe.org/lua/'
end
version 'HashLink' do
self.base_url = 'https://api.haxe.org/hl/'
end
version 'Sys' do
self.base_url = 'https://api.haxe.org/sys/'
end
version 'Python' do version 'Python' do
self.base_url = 'https://api.haxe.org/python/' self.base_url = 'https://api.haxe.org/python/'
end end

Loading…
Cancel
Save