History

Update Less documentation

Phil Scherer committed 5 years ago

Commit 175ffdb1 parent a23035d3 files · +4 −4Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/less/clean_html.rb +1 −1
  3. lib/docs/scrapers/less.rb +2 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -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 ], [
lib/docs/filters/less/clean_html.rb+1−1
@@ -7,7 +7,7 @@ module Docs · 6 unmodified lines
7 node.remove7 node.remove
8 end8 end
9 9
10 css('.source-link', 'a[id$="md"]', 'br').remove10 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').remove13 node.ancestors('.docs-section').remove
lib/docs/scrapers/less.rb+2−2
@@ -1,7 +1,7 @@
1module Docs1module Docs
2 class Less < UrlScraper2 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] = false18 options[:trailing_slash] = false
19 19
20 options[:attribution] = <<-HTML20 options[:attribution] = <<-HTML
21 &copy; 2009&ndash;2016 The Core Less Team<br>21 &copy; 2009&ndash;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 HTML23 HTML
24 24