[devdocsgjs/main: 29/64] Update OpenJDK documentation (18)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 29/64] Update OpenJDK documentation (18)
- Date: Fri, 6 May 2022 23:47:33 +0000 (UTC)
commit dba20951af4018506e7858047e4323f40c08698f
Author: Simon Legner <Simon Legner gmail com>
Date: Fri Apr 22 21:22:31 2022 +0200
Update OpenJDK documentation (18)
assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
lib/docs/scrapers/openjdk.rb | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 0ddad865..a366449a 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -619,7 +619,7 @@ credits = [
'https://octave.org/doc/v7.1.0/'
], [
'OpenJDK',
- '1993, 2021, Oracle and/or its affiliates. All rights reserved.<br>Licensed under the GNU General Public
License, version 2, with the Classpath Exception.<br>Various third party code in OpenJDK is licensed under
different licenses.<br>Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its
affiliates.',
+ '1993, 2022, Oracle and/or its affiliates. All rights reserved.<br>Licensed under the GNU General Public
License, version 2, with the Classpath Exception.<br>Various third party code in OpenJDK is licensed under
different licenses.<br>Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its
affiliates.',
'GPLv2',
'http://openjdk.java.net/legal/gplv2+ce.html'
], [
diff --git a/lib/docs/scrapers/openjdk.rb b/lib/docs/scrapers/openjdk.rb
index 03142aca..6a8fdb96 100644
--- a/lib/docs/scrapers/openjdk.rb
+++ b/lib/docs/scrapers/openjdk.rb
@@ -28,7 +28,7 @@ module Docs
]
options[:attribution] = <<-HTML
- © 1993, 2021, Oracle and/or its affiliates. All rights reserved.<br>
+ © 1993, 2022, Oracle and/or its affiliates. All rights reserved.<br>
Documentation extracted from Debian's OpenJDK Development Kit package.<br>
Licensed under the GNU General Public License, version 2, with the Classpath Exception.<br>
Various third party code in OpenJDK is licensed under different licenses (see Debian package).<br>
@@ -37,6 +37,16 @@ module Docs
NEWFILTERS = ['openjdk/entries_new', 'openjdk/clean_html_new']
+ version '18' do
+ self.release = '18'
+ self.root_path = 'index.html'
+ self.base_url = 'https://docs.oracle.com/en/java/javase/18/docs/api/'
+
+ html_filters.push NEWFILTERS
+
+ options[:container] = 'main'
+ end
+
version '17' do
self.release = '17'
self.root_path = 'index.html'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]