diff --git a/lib/docs/scrapers/phalcon.rb b/lib/docs/scrapers/phalcon.rb index 63f22743..d493c712 100644 --- a/lib/docs/scrapers/phalcon.rb +++ b/lib/docs/scrapers/phalcon.rb @@ -1,8 +1,8 @@ module Docs class Phalcon < UrlScraper + self.name = 'Phalcon' + self.slug = 'phalcon' self.type = 'phalcon' - self.release = '3.0.0' - self.base_url = 'https://docs.phalconphp.com/en/latest/' self.root_path = 'index.html' self.links = { home: 'https://phalconphp.com/', @@ -21,5 +21,15 @@ module Docs © 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0. HTML + + version '3.0.0' do + self.release = '3.0.0' + self.base_url = 'https://docs.phalconphp.com/en/{version}/' + end + + version '2.0.0' do + self.release = '2.0.0' + self.base_url = 'https://docs.phalconphp.com/en/{version}/' + end end end