Unified · Split
| @@ -1,8 +1,6 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Phalcon < UrlScraper | 2 | class Phalcon < UrlScraper |
| 3 | self.type = 'phalcon' | 3 | self.type = 'phalcon' |
| 4 | self.release = '3.0.0' | ||
| 5 | self.base_url = 'https://docs.phalconphp.com/en/latest/' | ||
| 6 | self.root_path = 'index.html' | 4 | self.root_path = 'index.html' |
| 7 | self.links = { | 5 | self.links = { |
| 8 | home: 'https://phalconphp.com/', | 6 | home: 'https://phalconphp.com/', |
| @@ -21,5 +19,15 @@ module Docs · 12 unmodified lines | |||
| 21 | © 2011–2016 Phalcon Framework Team<br> | 19 | © 2011–2016 Phalcon Framework Team<br> |
| 22 | Licensed under the Creative Commons Attribution License 3.0. | 20 | Licensed under the Creative Commons Attribution License 3.0. |
| 23 | HTML | 21 | HTML |
| 22 | |||
| 23 | version '3' do | ||
| 24 | self.release = '3.0.1' | ||
| 25 | self.base_url = 'https://docs.phalconphp.com/en/latest/' | ||
| 26 | end | ||
| 27 | |||
| 28 | version '2' do | ||
| 29 | self.release = '2.0.13' | ||
| 30 | self.base_url = 'https://docs.phalconphp.com/en/2.0.0/' | ||
| 31 | end | ||
| 24 | end | 32 | end |
| 25 | end | 33 | end |