ソースを参照

Update Godot documentation (3.0)

Thibaut Courouble 7 年 前
コミット
a539ac420b

+ 1 - 1
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'
   ], [

+ 7 - 2
lib/docs/scrapers/godot.rb

@@ -17,17 +17,22 @@ module Docs
     options[:attribution] = ->(filter) do
       if filter.subpath.start_with?('classes')
          <<-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.
         HTML
       else
         <<-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.
         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}/"