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/codeception.rb

23 lines
615 B

module Docs
class Codeception < UrlScraper
self.name = 'Codeception'
self.type = 'codeception'
self.release = '2.3.3'
self.base_url = 'http://codeception.com/docs/'
self.root_path = 'index.html'
self.links = {
home: 'http://codeception.com/',
code: 'https://github.com/codeception/codeception'
}
html_filters.push 'codeception/entries', 'codeception/clean_html'
options[:skip_patterns] = [/install/]
options[:attribution] = <<-HTML
&copy; 2011&ndash;2017 Michael Bodnarchuk and contributors<br>
Licensed under the MIT License.
HTML
end
end