|
|
@ -1,7 +1,6 @@
|
|
|
|
module Docs
|
|
|
|
module Docs
|
|
|
|
class Less < UrlScraper
|
|
|
|
class Less < UrlScraper
|
|
|
|
self.type = 'simple'
|
|
|
|
self.type = 'simple'
|
|
|
|
self.release = '3.12.0'
|
|
|
|
|
|
|
|
self.base_url = 'http://lesscss.org'
|
|
|
|
self.base_url = 'http://lesscss.org'
|
|
|
|
self.root_path = '/features'
|
|
|
|
self.root_path = '/features'
|
|
|
|
self.initial_paths = %w(/functions)
|
|
|
|
self.initial_paths = %w(/functions)
|
|
|
@ -22,6 +21,14 @@ module Docs
|
|
|
|
Licensed under the Creative Commons Attribution License 3.0.
|
|
|
|
Licensed under the Creative Commons Attribution License 3.0.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version '3' do
|
|
|
|
|
|
|
|
self.release = '3.12.0'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version '2' do
|
|
|
|
|
|
|
|
self.release = '2.7.2'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def get_latest_version(opts)
|
|
|
|
def get_latest_version(opts)
|
|
|
|
doc = fetch_doc('http://lesscss.org/features/', opts)
|
|
|
|
doc = fetch_doc('http://lesscss.org/features/', opts)
|
|
|
|
label = doc.at_css('.footer-links > li').content
|
|
|
|
label = doc.at_css('.footer-links > li').content
|
|
|
|