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
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