Unified · Split
| @@ -178,10 +178,10 @@ download it, extract it with `dpkg -x $PACKAGE ./` and move `./usr/share/doc/ope · 177 unmodified lines | ||
| 178 | 178 | to `path/to/devdocs/docs/openjdk~$VERSION` |
| 179 | 179 | |
| 180 | 180 | ```sh |
| 181 | −curl -O http://ftp.at.debian.org/debian/pool/main/o/openjdk-21/openjdk-21-doc_21.0.2+13-2_all.deb | |
| 182 | −tar xf openjdk-21-doc_21.0.2+13-2_all.deb | |
| 181 | +curl -O http://ftp.at.debian.org/debian/pool/main/o/openjdk-25/openjdk-25-doc_25+36-1_all.deb | |
| 182 | +tar xf openjdk-25-doc_25+36-1_all.deb | |
| 183 | 183 | tar xf data.tar.xz |
| 184 | −mv ./usr/share/doc/openjdk-21-jre-headless/api/ docs/openjdk~$VERSION | |
| 184 | +mv ./usr/share/doc/openjdk-25-jre-headless/api/ docs/openjdk~25 | |
| 185 | 185 | ``` |
| 186 | 186 | |
| 187 | 187 | If you use or have access to a Debian-based GNU/Linux distribution you can run the following command: |
| @@ -28,7 +28,7 @@ module Docs · 27 unmodified lines | ||
| 28 | 28 | ] |
| 29 | 29 | |
| 30 | 30 | options[:attribution] = <<-HTML |
| 31 | − © 1993, 2023, Oracle and/or its affiliates. All rights reserved.<br> | |
| 31 | + © 1993, 2025, Oracle and/or its affiliates. All rights reserved.<br> | |
| 32 | 32 | Documentation extracted from Debian's OpenJDK Development Kit package.<br> |
| 33 | 33 | Licensed under the GNU General Public License, version 2, with the Classpath Exception.<br> |
| 34 | 34 | Various third party code in OpenJDK is licensed under different licenses (see Debian package).<br> |
| @@ -37,6 +37,16 @@ module Docs · 2 unmodified lines | ||
| 37 | 37 | |
| 38 | 38 | NEWFILTERS = ['openjdk/entries_new', 'openjdk/clean_html_new'] |
| 39 | 39 | |
| 40 | + version '25' do | |
| 41 | + self.release = '25' | |
| 42 | + self.root_path = 'index.html' | |
| 43 | + self.base_url = 'https://docs.oracle.com/en/java/javase/25/docs/api/' | |
| 44 | + | |
| 45 | + html_filters.push NEWFILTERS | |
| 46 | + | |
| 47 | + options[:container] = 'main' | |
| 48 | + end | |
| 49 | + | |
| 40 | 50 | version '21' do |
| 41 | 51 | self.release = '21' |
| 42 | 52 | self.root_path = 'index.html' |