Update Godot documentation (3.0)

pull/775/head
Thibaut Courouble 7 years ago
parent b31eecdd4d
commit a539ac420b

@ -287,7 +287,7 @@ credits = [
'https://creativecommons.org/licenses/by/3.0/' 'https://creativecommons.org/licenses/by/3.0/'
], [ ], [
'Godot', 'Godot',
'2014-2017 Juan Linietsky, Ariel Manzur, Godot Engine contributors', '2014-2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors',
'MIT', 'MIT',
'https://raw.githubusercontent.com/godotengine/godot/master/LICENSE.txt' 'https://raw.githubusercontent.com/godotengine/godot/master/LICENSE.txt'
], [ ], [

@ -17,17 +17,22 @@ module Docs
options[:attribution] = ->(filter) do options[:attribution] = ->(filter) do
if filter.subpath.start_with?('classes') if filter.subpath.start_with?('classes')
<<-HTML <<-HTML
&copy; 2014&ndash;2017 Juan Linietsky, Ariel Manzur, Godot Engine contributors<br> &copy; 2014&ndash;2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors<br>
Licensed under the MIT License. Licensed under the MIT License.
HTML HTML
else else
<<-HTML <<-HTML
&copy; 2014&ndash;2017 Juan Linietsky, Ariel Manzur and the Godot community<br> &copy; 2014&ndash;2018 Juan Linietsky, Ariel Manzur and the Godot community<br>
Licensed under the Creative Commons Attribution Unported License v3.0. Licensed under the Creative Commons Attribution Unported License v3.0.
HTML HTML
end end
end end
version '3.0' do
self.release = '3.0'
self.base_url = "http://docs.godotengine.org/en/#{self.version}/"
end
version '2.1' do version '2.1' do
self.release = '2.1' self.release = '2.1'
self.base_url = "http://docs.godotengine.org/en/#{self.version}/" self.base_url = "http://docs.godotengine.org/en/#{self.version}/"

Loading…
Cancel
Save