Update OpenJDK documentation (18)

pull/1736/head
Simon Legner 3 years ago
parent abbb746936
commit dba20951af

@ -619,7 +619,7 @@ credits = [
'https://octave.org/doc/v7.1.0/' 'https://octave.org/doc/v7.1.0/'
], [ ], [
'OpenJDK', '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', 'GPLv2',
'http://openjdk.java.net/legal/gplv2+ce.html' 'http://openjdk.java.net/legal/gplv2+ce.html'
], [ ], [

@ -28,7 +28,7 @@ module Docs
] ]
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 1993, 2021, Oracle and/or its affiliates. All rights reserved.<br> &copy; 1993, 2022, Oracle and/or its affiliates. All rights reserved.<br>
Documentation extracted from Debian's OpenJDK Development Kit package.<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> 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> 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'] 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 version '17' do
self.release = '17' self.release = '17'
self.root_path = 'index.html' self.root_path = 'index.html'

Loading…
Cancel
Save