|
|
@ -2,7 +2,7 @@ module Docs
|
|
|
|
class Chai < UrlScraper
|
|
|
|
class Chai < UrlScraper
|
|
|
|
self.name = 'Chai'
|
|
|
|
self.name = 'Chai'
|
|
|
|
self.type = 'chai'
|
|
|
|
self.type = 'chai'
|
|
|
|
self.version = '1.10.0'
|
|
|
|
self.version = '2.0.0'
|
|
|
|
self.base_url = 'http://chaijs.com'
|
|
|
|
self.base_url = 'http://chaijs.com'
|
|
|
|
self.root_path = '/api/'
|
|
|
|
self.root_path = '/api/'
|
|
|
|
self.initial_paths = %w(/guide/installation/)
|
|
|
|
self.initial_paths = %w(/guide/installation/)
|
|
|
@ -16,7 +16,7 @@ module Docs
|
|
|
|
options[:skip] = %w(/api/test/ /guide/ /guide/resources/)
|
|
|
|
options[:skip] = %w(/api/test/ /guide/ /guide/resources/)
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2011–2014 Jake Luer<br>
|
|
|
|
© 2011–2015 Jake Luer<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
end
|
|
|
|
end
|
|
|
|