diff --git a/lib/docs/scrapers/phalcon.rb b/lib/docs/scrapers/phalcon.rb index 63f22743..e1897c9f 100644 --- a/lib/docs/scrapers/phalcon.rb +++ b/lib/docs/scrapers/phalcon.rb @@ -1,8 +1,6 @@ module Docs class Phalcon < UrlScraper 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 +19,15 @@ module Docs © 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0. HTML + + version '3' do + self.release = '3.0.1' + self.base_url = 'https://docs.phalconphp.com/en/latest/' + end + + version '2' do + self.release = '2.0.13' + self.base_url = 'https://docs.phalconphp.com/en/2.0.0/' + end end end