Update Less documentation (1.7.0)

pull/67/merge
Thibaut 11 years ago
parent 2eeff839ca
commit 2e4a38fc03

@ -18,6 +18,7 @@ module Docs
css('h1').each do |node|
name = node.content
name = 'Rulesets' if name == 'Passing Rulesets to Mixins'
entries << [name, node['id']] unless name == 'Overview'
end
@ -50,7 +51,7 @@ module Docs
css('.docs-section').each do |section|
if title = section.at_css('h1')
type = title.content
type.sub! %r{(\w+) Functions}, 'Functions: \1'
type.sub! %r{(.+) Functions}, 'Functions: \1'
end
section.css('h3').each do |node|

@ -1,7 +1,7 @@
module Docs
class Less < UrlScraper
self.type = 'less'
self.version = '1.6.3'
self.version = '1.7.0'
self.base_url = 'http://lesscss.org'
self.root_path = '/features'
self.initial_paths = %w(/functions)

Loading…
Cancel
Save