Unified · Split
| @@ -166,11 +166,11 @@ Search 'Openjdk' in https://www.debian.org/distrib/packages, find the `openjdk-$ · 165 unmodified lines | ||
| 166 | 166 | download it, extract it with `dpkg -x $PACKAGE ./` and move `./usr/share/doc/openjdk-16-jre-headless/api/` |
| 167 | 167 | to `path/to/devdocs/docs/openjdk~$VERSION` |
| 168 | 168 | |
| 169 | −``` | |
| 170 | −curl http://ftp.at.debian.org/debian/pool/main/o/openjdk-19/openjdk-19-doc_19+36-2_all.deb && | |
| 171 | −tar xf openjdk-19-doc_19+36-2_all.deb | |
| 169 | +```sh | |
| 170 | +curl -O http://ftp.at.debian.org/debian/pool/main/o/openjdk-21/openjdk-21-doc_21.0.1+12-3_all.deb | |
| 171 | +tar xf openjdk-21-doc_21.0.1+12-3_all.deb | |
| 172 | 172 | tar xf data.tar.xz |
| 173 | −mv ./usr/share/doc/openjdk-19-jre-headless/api/ path/to/devdocs/docs/openjdk~$VERSION | |
| 173 | +mv ./usr/share/doc/openjdk-21-jre-headless/api/ docs/openjdk~$VERSION | |
| 174 | 174 | ``` |
| 175 | 175 | |
| 176 | 176 | If you use or have access to a Debian-based GNU/Linux distribution you can run the following command: |
| @@ -178,7 +178,7 @@ If you use or have access to a Debian-based GNU/Linux distribution you can run t · 1 unmodified line | ||
| 178 | 178 | apt download openjdk-$VERSION-doc |
| 179 | 179 | dpkg -x $PACKAGE ./ |
| 180 | 180 | # previous command makes a directory called 'usr' in the current directory |
| 181 | −mv ./usr/share/doc/openjdk-16-jre-headless/api/ path/to/devdocs/docs/openjdk~$VERSION | |
| 181 | +mv ./usr/share/doc/openjdk-16-jre-headless/api/ docs/openjdk~$VERSION | |
| 182 | 182 | ``` |
| 183 | 183 | |
| 184 | 184 | ## Pandas |
| @@ -28,7 +28,7 @@ module Docs · 27 unmodified lines | ||
| 28 | 28 | ] |
| 29 | 29 | |
| 30 | 30 | options[:attribution] = <<-HTML |
| 31 | − © 1993, 2022, Oracle and/or its affiliates. All rights reserved.<br> | |
| 31 | + © 1993, 2023, 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,20 +37,10 @@ module Docs · 2 unmodified lines | ||
| 37 | 37 | |
| 38 | 38 | NEWFILTERS = ['openjdk/entries_new', 'openjdk/clean_html_new'] |
| 39 | 39 | |
| 40 | − version '19' do | |
| 41 | − self.release = '19' | |
| 40 | + version '21' do | |
| 41 | + self.release = '21' | |
| 42 | 42 | self.root_path = 'index.html' |
| 43 | − self.base_url = 'https://docs.oracle.com/en/java/javase/19/docs/api/' | |
| 44 | − | |
| 45 | − html_filters.push NEWFILTERS | |
| 46 | − | |
| 47 | − options[:container] = 'main' | |
| 48 | − end | |
| 49 | − | |
| 50 | − version '18' do | |
| 51 | − self.release = '18' | |
| 52 | − self.root_path = 'index.html' | |
| 53 | − self.base_url = 'https://docs.oracle.com/en/java/javase/18/docs/api/' | |
| 43 | + self.base_url = 'https://docs.oracle.com/en/java/javase/21/docs/api/' | |
| 54 | 44 | |
| 55 | 45 | html_filters.push NEWFILTERS |
| 56 | 46 | |