From 6d62e69a8124dda01f0127ae81d0b1c19415a88d Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Wed, 24 Jan 2024 21:13:43 +0100 Subject: [PATCH] Update OpenJDK documentation --- docs/file-scrapers.md | 4 ++-- lib/docs/filters/openjdk/clean_html_new.rb | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md index 478099b4..2cc99165 100644 --- a/docs/file-scrapers.md +++ b/docs/file-scrapers.md @@ -167,8 +167,8 @@ download it, extract it with `dpkg -x $PACKAGE ./` and move `./usr/share/doc/ope to `path/to/devdocs/docs/openjdk~$VERSION` ```sh -curl -O http://ftp.at.debian.org/debian/pool/main/o/openjdk-21/openjdk-21-doc_21.0.1+12-3_all.deb -tar xf openjdk-21-doc_21.0.1+12-3_all.deb +curl -O http://ftp.at.debian.org/debian/pool/main/o/openjdk-21/openjdk-21-doc_21.0.2+13-2_all.deb +tar xf openjdk-21-doc_21.0.2+13-2_all.deb tar xf data.tar.xz mv ./usr/share/doc/openjdk-21-jre-headless/api/ docs/openjdk~$VERSION ``` diff --git a/lib/docs/filters/openjdk/clean_html_new.rb b/lib/docs/filters/openjdk/clean_html_new.rb index 90341926..608dbab6 100644 --- a/lib/docs/filters/openjdk/clean_html_new.rb +++ b/lib/docs/filters/openjdk/clean_html_new.rb @@ -12,6 +12,7 @@ module Docs end css('.header .sub-title', 'hr', '.table-tabs').remove + css('.copy').remove # fix ul section that contains summaries or tables css('ul').each do |node|