Update Deno documentation (1.26.0)

pull/1824/head
Simon Legner 2 years ago
parent 99818942c5
commit b3a108a200

@ -13,6 +13,12 @@ module Docs
node['data-language'] = 'typescript'
node.name = 'pre'
end
css('.tw-8ej7ai').each do |node|
code = node.at_css('.font-mono')
next unless code
code.parent.name = 'blockquote'
code.name = 'code'
end
css('*[class]').remove_attribute('class')
xpath('//a[text()="[src]"]').remove

@ -2,7 +2,7 @@ module Docs
class Deno < UrlScraper
self.name = 'Deno'
self.type = 'simple'
self.release = '1.25.0'
self.release = '1.26.0'
self.base_url = 'https://doc.deno.land/deno/stable/'
self.links = {
home: 'https://deno.land/',

Loading…
Cancel
Save