Update Support Tables documentation (1.0.30001204)

pull/1250/merge
Simon Legner 4 years ago
parent 57f395f02b
commit 3a35f480ae

@ -7,10 +7,10 @@ module Docs
self.name = 'Support Tables' self.name = 'Support Tables'
self.slug = 'browser_support_tables' self.slug = 'browser_support_tables'
self.type = 'support_tables' self.type = 'support_tables'
self.release = '1.0.30001159' self.release = '1.0.30001204'
def build_pages def build_pages
url = 'https://github.com/Fyrd/caniuse/raw/master/data.json' url = 'https://github.com/Fyrd/caniuse/raw/main/data.json'
instrument 'running.scraper', urls: [url] instrument 'running.scraper', urls: [url]
response = Request.run(url) response = Request.run(url)
@ -36,7 +36,7 @@ module Docs
yield index_page yield index_page
data['data'].each do |feature_id, feature| data['data'].each do |feature_id, feature|
url = "https://github.com/Fyrd/caniuse/raw/master/features-json/#{feature_id}.json" url = "https://github.com/Fyrd/caniuse/raw/main/features-json/#{feature_id}.json"
response = Request.run(url) response = Request.run(url)
instrument 'process_response.scraper', response: response instrument 'process_response.scraper', response: response

Loading…
Cancel
Save