2016-11-30 07:02:19 +01:00
|
|
|
module Docs
|
|
|
|
|
class Codeception < UrlScraper
|
|
|
|
|
self.name = 'Codeception'
|
|
|
|
|
self.type = 'codeception'
|
2021-11-02 22:50:42 -06:00
|
|
|
self.release = '4.1.22'
|
2018-03-18 11:15:12 -04:00
|
|
|
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 = {
|
2018-03-18 11:15:12 -04:00
|
|
|
home: 'https://codeception.com/',
|
2019-09-03 01:59:27 +02:00
|
|
|
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
|
2018-03-18 11:15:12 -04:00
|
|
|
© 2011 Michael Bodnarchuk and contributors<br>
|
2016-11-30 07:02:19 +01:00
|
|
|
Licensed under the MIT License.
|
|
|
|
|
HTML
|
2019-03-09 02:36:05 +01:00
|
|
|
|
2019-03-10 03:02:24 +01:00
|
|
|
def get_latest_version(opts)
|
2021-11-02 22:50:42 -06:00
|
|
|
get_github_tags("Codeception", "Codeception", opts)[1]["name"]
|
2019-03-09 02:36:05 +01:00
|
|
|
end
|
2016-11-30 07:02:19 +01:00
|
|
|
end
|
|
|
|
|
end
|