[devdocsgjs/main: 10/64] Update Electron documentation (18.0.1)




commit 53baf116977700e66bcf79cbc7f758611f360e6c
Author: Simon Legner <Simon Legner gmail com>
Date:   Mon Apr 11 19:44:34 2022 +0200

    Update Electron documentation (18.0.1)

 lib/docs/filters/electron/clean_html.rb | 2 --
 lib/docs/scrapers/electron.rb           | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/lib/docs/filters/electron/clean_html.rb b/lib/docs/filters/electron/clean_html.rb
index 9e0d1908..38a3a87d 100644
--- a/lib/docs/filters/electron/clean_html.rb
+++ b/lib/docs/filters/electron/clean_html.rb
@@ -4,8 +4,6 @@ module Docs
       def call
         @doc = at_css(".markdown")
 
-        css("header").before(at_css("h1"))
-
         css(".theme-doc-toc-desktop").remove
 
         css(".theme-doc-toc-mobile").remove
diff --git a/lib/docs/scrapers/electron.rb b/lib/docs/scrapers/electron.rb
index d2341f61..2af9dfcc 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/latest'
-    self.release = '16.0.2'
+    self.release = '18.0.1'
     self.links = {
       home: 'https://www.electronjs.org/',
       code: 'https://github.com/electron/electron'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]