[devdocsgjs/main: 41/239] Update webpack documentation (5.64.4)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 41/239] Update webpack documentation (5.64.4)
- Date: Fri, 8 Apr 2022 07:47:34 +0000 (UTC)
commit 578bba18073bf45269466f475368de8334bd2c7b
Author: Simon Legner <Simon Legner gmail com>
Date: Sat Dec 4 18:37:43 2021 +0100
Update webpack documentation (5.64.4)
lib/docs/filters/webpack/clean_html.rb | 4 ++++
lib/docs/scrapers/webpack.rb | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/lib/docs/filters/webpack/clean_html.rb b/lib/docs/filters/webpack/clean_html.rb
index ebc235f5..b57190a9 100644
--- a/lib/docs/filters/webpack/clean_html.rb
+++ b/lib/docs/filters/webpack/clean_html.rb
@@ -20,6 +20,10 @@ module Docs
node.parent.content = node.parent.content
end
+ css('*').each do |node|
+ node.remove if node['class'] && node['class'][/print:hidden/]
+ end
+
# for webpack-contrib /loaders and /plugins
shields = at_css('img[src*="shields.io"]')
shields.ancestors('p')[0].remove if shields
diff --git a/lib/docs/scrapers/webpack.rb b/lib/docs/scrapers/webpack.rb
index be6771c3..ae58cd47 100644
--- a/lib/docs/scrapers/webpack.rb
+++ b/lib/docs/scrapers/webpack.rb
@@ -36,7 +36,7 @@ module Docs
HTML
version '5' do
- self.release = '5.59.1'
+ self.release = '5.64.4'
self.base_url = 'https://webpack.js.org/'
end
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]