|
|
@ -2,10 +2,14 @@ module Docs
|
|
|
|
class Chai < UrlScraper
|
|
|
|
class Chai < UrlScraper
|
|
|
|
self.name = 'Chai'
|
|
|
|
self.name = 'Chai'
|
|
|
|
self.type = 'chai'
|
|
|
|
self.type = 'chai'
|
|
|
|
self.version = '2.2.0'
|
|
|
|
self.version = '2.3.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/)
|
|
|
|
|
|
|
|
self.links = {
|
|
|
|
|
|
|
|
home: 'http://chaijs.com/',
|
|
|
|
|
|
|
|
code: 'https://github.com/chaijs/chai'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.push 'chai/entries', 'chai/clean_html'
|
|
|
|
html_filters.push 'chai/entries', 'chai/clean_html'
|
|
|
|
|
|
|
|
|
|
|
|