History

Merge pull request #1169 from ignaloidas/patch-1

Update Godot versions

Simon Legner committed 5 years ago

Commit 837d3312 parents 8d30b7d d5bb5a12 files · +8 −13Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/godot.rb +7 −12
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -328,7 +328,7 @@ credits = [ · 327 unmodified lines
328 'https://creativecommons.org/licenses/by/3.0/'328 'https://creativecommons.org/licenses/by/3.0/'
329 ], [329 ], [
330 'Godot',330 'Godot',
331 '2014-2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors',331 '2014-2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors',
332 'MIT',332 'MIT',
333 'https://raw.githubusercontent.com/godotengine/godot/master/LICENSE.txt'333 'https://raw.githubusercontent.com/godotengine/godot/master/LICENSE.txt'
334 ], [334 ], [
lib/docs/scrapers/godot.rb+7−12
@@ -17,30 +17,25 @@ module Docs · 16 unmodified lines
17 options[:attribution] = ->(filter) do17 options[:attribution] = ->(filter) do
18 if filter.subpath.start_with?('classes')18 if filter.subpath.start_with?('classes')
19 <<-HTML19 <<-HTML
20 &copy; 2014&ndash;2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors<br>20 &copy; 2014&ndash;2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors<br>
21 Licensed under the MIT License.21 Licensed under the MIT License.
22 HTML22 HTML
23 else23 else
24 <<-HTML24 <<-HTML
25 &copy; 2014&ndash;2019 Juan Linietsky, Ariel Manzur and the Godot community<br>25 &copy; 2014&ndash;2020 Juan Linietsky, Ariel Manzur and the Godot community<br>
26 Licensed under the Creative Commons Attribution Unported License v3.0.26 Licensed under the Creative Commons Attribution Unported License v3.0.
27 HTML27 HTML
28 end28 end
29 end29 end
30 30
31 version '3.1' do31 version '3.2' do
32 self.release = '3.1.1'32 self.release = '3.2.3'
33 self.base_url = "http://docs.godotengine.org/en/#{self.version}/"33 self.base_url = "https://docs.godotengine.org/en/#{self.version}/"
34 end
35
36 version '3.0' do
37 self.release = '3.0.6'
38 self.base_url = "http://docs.godotengine.org/en/#{self.version}/"
39 end34 end
40 35
41 version '2.1' do36 version '2.1' do
42 self.release = '2.1'37 self.release = '2.1.6'
43 self.base_url = "http://docs.godotengine.org/en/#{self.version}/"38 self.base_url = "https://docs.godotengine.org/en/#{self.version}/"
44 end39 end
45 40
46 def get_latest_version(opts)41 def get_latest_version(opts)