SIGN IN SIGN UP
2016-11-30 07:02:19 +01:00
module Docs
class Codeception < UrlScraper
self.name = 'Codeception'
self.type = 'codeception'
self.release = '4.1.22'
self.base_url = 'https://codeception.com/docs/'
2016-12-04 17:44:42 -05:00
self.root_path = 'index.html'
2016-11-30 07:02:19 +01:00
self.links = {
home: 'https://codeception.com/',
code: 'https://github.com/Codeception/Codeception'
2016-11-30 07:02:19 +01:00
}
2016-12-04 17:44:42 -05:00
html_filters.push 'codeception/entries', 'codeception/clean_html'
2016-11-30 07:02:19 +01:00
options[:skip_patterns] = [/install/]
options[:attribution] = <<-HTML
&copy; 2011 Michael Bodnarchuk and contributors<br>
2016-11-30 07:02:19 +01:00
Licensed under the MIT License.
HTML
2019-03-10 03:02:24 +01:00
def get_latest_version(opts)
get_github_tags("Codeception", "Codeception", opts)[1]["name"]
end
2016-11-30 07:02:19 +01:00
end
end