Преглед на файлове

Update Godot documentation (3.3.0)

Simon Legner преди 4 години
родител
ревизия
f703104c1c
променени са 2 файла, в които са добавени 8 реда и са изтрити 3 реда
  1. 1 1
      assets/javascripts/templates/pages/about_tmpl.coffee
  2. 7 2
      lib/docs/scrapers/godot.rb

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

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