Update Less documentation

pull/1334/head
Phil Scherer 4 years ago
parent a23035d02c
commit 175ffdb1dd

@ -438,7 +438,7 @@ credits = [
'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE' 'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE'
], [ ], [
'Less', 'Less',
'2009-2016 The Core Less Team', '2009-2020 The Core Less Team',
'CC BY', 'CC BY',
'https://creativecommons.org/licenses/by/3.0/' 'https://creativecommons.org/licenses/by/3.0/'
], [ ], [

@ -7,7 +7,7 @@ module Docs
node.remove node.remove
end end
css('.source-link', 'a[id$="md"]', 'br').remove css('.navbar', '.source-link', 'a[id$="md"]', 'br').remove
css('#functions-overview').each do |node| css('#functions-overview').each do |node|
node.ancestors('.docs-section').remove node.ancestors('.docs-section').remove

@ -1,7 +1,7 @@
module Docs module Docs
class Less < UrlScraper class Less < UrlScraper
self.type = 'simple' self.type = 'simple'
self.release = '2.7.2' 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)
@ -18,7 +18,7 @@ module Docs
options[:trailing_slash] = false options[:trailing_slash] = false
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; 2009&ndash;2016 The Core Less Team<br> &copy; 2009&ndash;2020 The Core Less Team<br>
Licensed under the Creative Commons Attribution License 3.0. Licensed under the Creative Commons Attribution License 3.0.
HTML HTML

Loading…
Cancel
Save