diff --git a/lib/docs/filters/electron/clean_html.rb b/lib/docs/filters/electron/clean_html.rb index 7a906a70..052d4af7 100644 --- a/lib/docs/filters/electron/clean_html.rb +++ b/lib/docs/filters/electron/clean_html.rb @@ -4,6 +4,8 @@ module Docs def call css('.header-link', 'hr + .text-center', 'hr', '.docs__actions-bar').remove + css('.announcement-banner-contrast').remove + css('.grid', '.row', '.col-ms-12', 'ul.docs-list > ul.docs-list', '.sub-section').each do |node| node.before(node.children).remove end diff --git a/lib/docs/scrapers/electron.rb b/lib/docs/scrapers/electron.rb index 6cf32026..8b19e060 100644 --- a/lib/docs/scrapers/electron.rb +++ b/lib/docs/scrapers/electron.rb @@ -2,7 +2,7 @@ module Docs class Electron < UrlScraper self.type = 'simple' self.base_url = 'https://www.electronjs.org/docs' - self.release = '13.1.7' + self.release = '14.0.0' self.links = { home: 'https://www.electronjs.org/', code: 'https://github.com/electron/electron'