diff --git a/lib/docs/filters/electron/clean_html.rb b/lib/docs/filters/electron/clean_html.rb index 4459f913..7a906a70 100644 --- a/lib/docs/filters/electron/clean_html.rb +++ b/lib/docs/filters/electron/clean_html.rb @@ -2,7 +2,7 @@ module Docs class Electron class CleanHtmlFilter < Filter def call - css('.header-link', 'hr + .text-center', 'hr').remove + css('.header-link', 'hr + .text-center', 'hr', '.docs__actions-bar').remove css('.grid', '.row', '.col-ms-12', 'ul.docs-list > ul.docs-list', '.sub-section').each do |node| node.before(node.children).remove diff --git a/lib/docs/scrapers/electron.rb b/lib/docs/scrapers/electron.rb index 49fb5193..da105f39 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 = '11.0.1' + self.release = '12.0.0' self.links = { home: 'https://www.electronjs.org/', code: 'https://github.com/electron/electron'