Unified · Split
| @@ -438,7 +438,7 @@ credits = [ · 437 unmodified lines | |||
| 438 | 'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE' | 438 | 'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE' |
| 439 | ], [ | 439 | ], [ |
| 440 | 'Less', | 440 | 'Less', |
| 441 | '2009-2016 The Core Less Team', | 441 | '2009-2020 The Core Less Team', |
| 442 | 'CC BY', | 442 | 'CC BY', |
| 443 | 'https://creativecommons.org/licenses/by/3.0/' | 443 | 'https://creativecommons.org/licenses/by/3.0/' |
| 444 | ], [ | 444 | ], [ |
| @@ -7,7 +7,7 @@ module Docs · 6 unmodified lines | |||
| 7 | node.remove | 7 | node.remove |
| 8 | end | 8 | end |
| 9 | 9 | ||
| 10 | css('.source-link', 'a[id$="md"]', 'br').remove | 10 | css('.navbar', '.source-link', 'a[id$="md"]', 'br').remove |
| 11 | 11 | ||
| 12 | css('#functions-overview').each do |node| | 12 | css('#functions-overview').each do |node| |
| 13 | node.ancestors('.docs-section').remove | 13 | node.ancestors('.docs-section').remove |
| @@ -1,7 +1,7 @@ | |||
| 1 | module Docs | 1 | module Docs |
| 2 | class Less < UrlScraper | 2 | class Less < UrlScraper |
| 3 | self.type = 'simple' | 3 | self.type = 'simple' |
| 4 | self.release = '2.7.2' | 4 | self.release = '3.12.0' |
| 5 | self.base_url = 'http://lesscss.org' | 5 | self.base_url = 'http://lesscss.org' |
| 6 | self.root_path = '/features' | 6 | self.root_path = '/features' |
| 7 | self.initial_paths = %w(/functions) | 7 | self.initial_paths = %w(/functions) |
| @@ -18,7 +18,7 @@ module Docs · 10 unmodified lines | |||
| 18 | options[:trailing_slash] = false | 18 | options[:trailing_slash] = false |
| 19 | 19 | ||
| 20 | options[:attribution] = <<-HTML | 20 | options[:attribution] = <<-HTML |
| 21 | © 2009–2016 The Core Less Team<br> | 21 | © 2009–2020 The Core Less Team<br> |
| 22 | Licensed under the Creative Commons Attribution License 3.0. | 22 | Licensed under the Creative Commons Attribution License 3.0. |
| 23 | HTML | 23 | HTML |
| 24 | 24 | ||