Update Electron documentation (12.0.0)

pull/1499/head
Simon Legner 4 years ago
parent d04c0651ae
commit 2bc92cf72b

@ -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

@ -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'

Loading…
Cancel
Save