Update haxe.rb

Add all targets / copyright year
pull/778/head
Mark Knol 7 years ago committed by GitHub
parent d48396de57
commit edbf375728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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|macro|lua|hashlink|sys)/i]
end end
version 'C++' do version 'C++' do
@ -51,6 +51,22 @@ module Docs
self.base_url = 'https://api.haxe.org/php/' self.base_url = 'https://api.haxe.org/php/'
end end
version 'Macro' do
self.base_url = 'https://api.haxe.org/macro/'
end
version 'Lua' do
self.base_url = 'https://api.haxe.org/lua/'
end
version 'HashLink' do
self.base_url = 'https://api.haxe.org/hashlink/'
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