You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/lib/docs/scrapers/deno.rb

24 lines
588 B

module Docs
class Deno < UrlScraper
self.name = 'Deno'
self.type = 'simple'
self.release = '1.46.3'
self.base_url = 'https://docs.deno.com/api/deno/'
self.links = {
home: 'https://deno.com',
code: 'https://github.com/denoland/deno'
}
html_filters.push 'deno/entries', 'deno/clean_html'
# https://github.com/denoland/manual/blob/main/LICENSE
options[:attribution] = <<-HTML
&copy; 20182024 the Deno authors
HTML
def get_latest_version(opts)
get_latest_github_release('denoland', 'deno', opts)
end
end
end