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/mdn/web_extensions.rb

20 lines
592 B

module Docs
class WebExtensions < Mdn
# release = '2023-04-24'
self.name = 'Web Extensions'
self.slug = 'web_extensions'
self.links = {
home: 'https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions',
code: 'https://github.com/mdn/content/tree/main/files/en-us/mozilla/add-ons/webextensions'
}
self.base_url = 'https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions'
html_filters.push 'web_extensions/entries', 'web_extensions/clean_html'
options[:skip_patterns] = [
/\/contributors\.txt$/
]
end
end