|
|
@ -2,7 +2,7 @@ module Docs
|
|
|
|
class Homebrew < UrlScraper
|
|
|
|
class Homebrew < UrlScraper
|
|
|
|
self.name = 'Homebrew'
|
|
|
|
self.name = 'Homebrew'
|
|
|
|
self.type = 'simple'
|
|
|
|
self.type = 'simple'
|
|
|
|
self.release = '1.4.2'
|
|
|
|
self.release = '1.8.1'
|
|
|
|
self.base_url = 'https://docs.brew.sh/'
|
|
|
|
self.base_url = 'https://docs.brew.sh/'
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
|
home: 'https://brew.sh',
|
|
|
|
home: 'https://brew.sh',
|
|
|
@ -13,8 +13,7 @@ module Docs
|
|
|
|
|
|
|
|
|
|
|
|
options[:container] = ->(filter) { filter.root_page? ? '#home' : '#page' }
|
|
|
|
options[:container] = ->(filter) { filter.root_page? ? '#home' : '#page' }
|
|
|
|
|
|
|
|
|
|
|
|
options[:skip_patterns] = [/maintainer/i, /core\-contributor/i]
|
|
|
|
options[:skip_patterns] = [/maintainer/i, /core\-contributor/i, /kickstarter/i]
|
|
|
|
options[:skip] = %w(Kickstarter-Supporters.html)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2009–present Homebrew contributors<br>
|
|
|
|
© 2009–present Homebrew contributors<br>
|
|
|
|