[devdocsgjs/main: 25/239] Update Groovy documentation (3.0.9)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 25/239] Update Groovy documentation (3.0.9)
- Date: Fri, 8 Apr 2022 07:47:33 +0000 (UTC)
commit 6d0436f98f77897a8f8a7daed46248fab2b51ab3
Author: Simon Legner <Simon Legner gmail com>
Date: Sun Nov 28 13:24:08 2021 +0100
Update Groovy documentation (3.0.9)
Fixes #1662.
lib/docs/filters/groovy/entries.rb | 3 ++-
lib/docs/scrapers/groovy.rb | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lib/docs/filters/groovy/entries.rb b/lib/docs/filters/groovy/entries.rb
index 8f80971f..bf467f4b 100755
--- a/lib/docs/filters/groovy/entries.rb
+++ b/lib/docs/filters/groovy/entries.rb
@@ -16,7 +16,8 @@ module Docs
def additional_entries
entries = []
css('.method, .element, .field, .enum_constant').each do |node|
- entries << [@name + '.' + node['id'], node['id']]
+ # Fix useless functions with arg249
https://docs.groovy-lang.org/3.0.9/html/gapi/org/codehaus/groovy/runtime/ArrayUtil.html
+ entries << [@name + '.' + node['id'], node['id']] if node['id'].length <= 192
end
css('.constructor').each do |node|
entries << [node['id'], node['id']]
diff --git a/lib/docs/scrapers/groovy.rb b/lib/docs/scrapers/groovy.rb
index ebd4242c..be0e24a0 100755
--- a/lib/docs/scrapers/groovy.rb
+++ b/lib/docs/scrapers/groovy.rb
@@ -24,7 +24,7 @@ module Docs
HTML
version '3.0' do
- self.release = '3.0.7'
+ self.release = '3.0.9'
self.base_url = "https://docs.groovy-lang.org/#{self.release}/html/gapi/"
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]