History

Update Less documentation

Phil Scherer committed 5 years ago

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

Showing the changes to lib/docs (2 of 3 files). Show all

Unified · Split

2 files
  1. lib/docs/filters/less/clean_html.rb +1 −1
  2. lib/docs/scrapers/less.rb +2 −2
lib/docs/filters/less/clean_html.rb+1−1
@@ -7,7 +7,7 @@ module Docs · 6 unmodified lines
77 node.remove
88 end
99
10− css('.source-link', 'a[id$="md"]', 'br').remove
10+ css('.navbar', '.source-link', 'a[id$="md"]', 'br').remove
1111
1212 css('#functions-overview').each do |node|
1313 node.ancestors('.docs-section').remove
lib/docs/scrapers/less.rb+2−2
@@ -1,7 +1,7 @@
11 module Docs
22 class Less < UrlScraper
33 self.type = 'simple'
4− self.release = '2.7.2'
4+ self.release = '3.12.0'
55 self.base_url = 'http://lesscss.org'
66 self.root_path = '/features'
77 self.initial_paths = %w(/functions)
@@ -18,7 +18,7 @@ module Docs · 10 unmodified lines
1818 options[:trailing_slash] = false
1919
2020 options[:attribution] = <<-HTML
21− &copy; 2009&ndash;2016 The Core Less Team<br>
21+ &copy; 2009&ndash;2020 The Core Less Team<br>
2222 Licensed under the Creative Commons Attribution License 3.0.
2323 HTML
2424