[devdocsgjs/main: 213/239] Update Groovy documentation (4.0.0)




commit 8273108a5ab4c07f9b0320c5fd1d4221a5538701
Author: Simon Legner <Simon Legner gmail com>
Date:   Tue Mar 1 18:09:36 2022 +0100

    Update Groovy documentation (4.0.0)

 assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
 lib/docs/scrapers/groovy.rb                          | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index bed03856..d8f1e249 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -359,7 +359,7 @@ credits = [
     'https://raw.githubusercontent.com/graphite-project/graphite-web/master/LICENSE'
   ], [
     'Groovy',
-    '2003-2020 The Apache Software Foundation',
+    '2003-2022 The Apache Software Foundation',
     'Apache',
     'https://github.com/apache/groovy-website/blob/asf-site/LICENSE'
   ], [
diff --git a/lib/docs/scrapers/groovy.rb b/lib/docs/scrapers/groovy.rb
index be0e24a0..37197372 100755
--- a/lib/docs/scrapers/groovy.rb
+++ b/lib/docs/scrapers/groovy.rb
@@ -19,10 +19,15 @@ module Docs
     ]
 
     options[:attribution] = <<-HTML
-      &copy; 2003-2020 The Apache Software Foundation<br>
+      &copy; 2003-2022 The Apache Software Foundation<br>
       Licensed under the Apache license.
     HTML
 
+    version '4.0' do
+      self.release = '4.0.0'
+      self.base_url = "https://docs.groovy-lang.org/#{self.release}/html/gapi/";
+    end
+
     version '3.0' do
       self.release = '3.0.9'
       self.base_url = "https://docs.groovy-lang.org/#{self.release}/html/gapi/";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]