Update OpenJDK documentation (19)
Unified · Split
| @@ -176,6 +176,13 @@ Search 'Openjdk' in https://www.debian.org/distrib/packages, find the `openjdk-$ · 175 unmodified lines | ||
| 176 | 176 | download it, extract it with `dpkg -x $PACKAGE ./` and move `./usr/share/doc/openjdk-16-jre-headless/api/` |
| 177 | 177 | to `path/to/devdocs/docs/openjdk~$VERSION` |
| 178 | 178 | |
| 179 | +``` | |
| 180 | +curl http://ftp.at.debian.org/debian/pool/main/o/openjdk-19/openjdk-19-doc_19+36-2_all.deb && | |
| 181 | +tar xf openjdk-19-doc_19+36-2_all.deb | |
| 182 | +tar xf data.tar.xz | |
| 183 | +mv ./usr/share/doc/openjdk-19-jre-headless/api/ path/to/devdocs/docs/openjdk~$VERSION | |
| 184 | +``` | |
| 185 | + | |
| 179 | 186 | If you use or have access to a Debian-based GNU/Linux distribution you can run the following command: |
| 180 | 187 | ```sh |
| 181 | 188 | apt download openjdk-$VERSION-doc |
| @@ -37,6 +37,16 @@ module Docs · 36 unmodified lines | ||
| 37 | 37 | |
| 38 | 38 | NEWFILTERS = ['openjdk/entries_new', 'openjdk/clean_html_new'] |
| 39 | 39 | |
| 40 | + version '19' do | |
| 41 | + self.release = '19' | |
| 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 | + | |
| 40 | 50 | version '18' do |
| 41 | 51 | self.release = '18' |
| 42 | 52 | self.root_path = 'index.html' |