[devdocsgjs/main: 11/15] Update Deno documentation (1.24.1)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 11/15] Update Deno documentation (1.24.1)
- Date: Sat, 6 Aug 2022 00:09:30 +0000 (UTC)
commit 7affbe1a497f576f14d1f6792de226b9c3113e79
Author: Simon Legner <Simon Legner gmail com>
Date: Sun Jul 31 09:15:01 2022 +0200
Update Deno documentation (1.24.1)
lib/docs/filters/deno/clean_html.rb | 5 +++--
lib/docs/scrapers/deno.rb | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/lib/docs/filters/deno/clean_html.rb b/lib/docs/filters/deno/clean_html.rb
index 1084963d..748744d0 100644
--- a/lib/docs/filters/deno/clean_html.rb
+++ b/lib/docs/filters/deno/clean_html.rb
@@ -9,10 +9,11 @@ module Docs
end
css('*[aria-label="Anchor"]').remove
- css('*[class]').remove_attribute('class')
- css('pre').each do |node|
+ css('pre', '.tw-1nkr705').each do |node|
node['data-language'] = 'typescript'
+ node.name = 'pre'
end
+ css('*[class]').remove_attribute('class')
xpath('//a[text()="[src]"]').remove
doc
diff --git a/lib/docs/scrapers/deno.rb b/lib/docs/scrapers/deno.rb
index 76f00282..9cdc5f49 100644
--- a/lib/docs/scrapers/deno.rb
+++ b/lib/docs/scrapers/deno.rb
@@ -2,7 +2,7 @@ module Docs
class Deno < UrlScraper
self.name = 'Deno'
self.type = 'simple'
- self.release = '1.23.2'
+ self.release = '1.24.1'
self.base_url = 'https://doc.deno.land/deno/stable/'
self.links = {
home: 'https://deno.land/',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]