From a539ac420b2870009d447617578cbca95ba08b4a Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 25 Feb 2018 10:29:29 -0500 Subject: [PATCH] Update Godot documentation (3.0) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/godot.rb | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index ecb0870e..2ef022c2 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -287,7 +287,7 @@ credits = [ 'https://creativecommons.org/licenses/by/3.0/' ], [ 'Godot', - '2014-2017 Juan Linietsky, Ariel Manzur, Godot Engine contributors', + '2014-2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors', 'MIT', 'https://raw.githubusercontent.com/godotengine/godot/master/LICENSE.txt' ], [ diff --git a/lib/docs/scrapers/godot.rb b/lib/docs/scrapers/godot.rb index 335fe04a..19696915 100644 --- a/lib/docs/scrapers/godot.rb +++ b/lib/docs/scrapers/godot.rb @@ -17,17 +17,22 @@ module Docs options[:attribution] = ->(filter) do if filter.subpath.start_with?('classes') <<-HTML - © 2014–2017 Juan Linietsky, Ariel Manzur, Godot Engine contributors
+ © 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License. HTML else <<-HTML - © 2014–2017 Juan Linietsky, Ariel Manzur and the Godot community
+ © 2014–2018 Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0. HTML 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 self.release = '2.1' self.base_url = "http://docs.godotengine.org/en/#{self.version}/"