Added versioning to Phalcon.

pull/497/head
Sid Roberts 9 years ago committed by GitHub
parent 46a9ed16f6
commit 26befc2305

@ -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
&copy; 2011&ndash;2016 Phalcon Framework Team<br>
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

Loading…
Cancel
Save