Update Codeception documentation (4.1.22)

pull/1659/head
Enoc 3 years ago
parent 380b089dee
commit 7c911073c2

@ -42,6 +42,8 @@ module Docs
node.parent.content = node.parent.content node.parent.content = node.parent.content
end end
css('.alert-warning').remove
doc doc
end end
end end

@ -2,7 +2,7 @@ module Docs
class Codeception < UrlScraper class Codeception < UrlScraper
self.name = 'Codeception' self.name = 'Codeception'
self.type = 'codeception' self.type = 'codeception'
self.release = '4.1.12' self.release = '4.1.22'
self.base_url = 'https://codeception.com/docs/' self.base_url = 'https://codeception.com/docs/'
self.root_path = 'index.html' self.root_path = 'index.html'
self.links = { self.links = {
@ -20,8 +20,7 @@ module Docs
HTML HTML
def get_latest_version(opts) def get_latest_version(opts)
doc = fetch_doc('https://codeception.com/changelog', opts) get_github_tags("Codeception", "Codeception", opts)[1]["name"]
doc.at_css('#page > h4').content
end end
end end
end end

Loading…
Cancel
Save