Jelajahi Sumber

Update Godot documentation (3.1.1)

Jasper van Merle 6 tahun lalu
induk
melakukan
04abf810b7

+ 1 - 1
assets/javascripts/templates/pages/about_tmpl.coffee

@@ -318,7 +318,7 @@ credits = [
     'https://creativecommons.org/licenses/by/3.0/'
   ], [
     'Godot',
-    '2014-2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors',
+    '2014-2019 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;2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors<br>
+          &copy; 2014&ndash;2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors<br>
           Licensed under the MIT License.
         HTML
       else
         <<-HTML
-          &copy; 2014&ndash;2018 Juan Linietsky, Ariel Manzur and the Godot community<br>
+          &copy; 2014&ndash;2019 Juan Linietsky, Ariel Manzur and the Godot community<br>
           Licensed under the Creative Commons Attribution Unported License v3.0.
         HTML
       end
     end
 
+    version '3.1' do
+      self.release = '3.1.1'
+      self.base_url = "http://docs.godotengine.org/en/#{self.version}/"
+    end
+
     version '3.0' do
       self.release = '3.0.6'
       self.base_url = "http://docs.godotengine.org/en/#{self.version}/"