[devdocsgjs/main: 1197/1867] Update Less documentation
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 1197/1867] Update Less documentation
- Date: Fri, 19 Nov 2021 23:47:48 +0000 (UTC)
commit 175ffdb1ddeff57a74827b4128ec94a01dcf9164
Author: Phil Scherer <pnscher evoforge org>
Date: Tue Nov 17 21:29:15 2020 +0000
Update Less documentation
assets/javascripts/templates/pages/about_tmpl.coffee | 2 +-
lib/docs/filters/less/clean_html.rb | 2 +-
lib/docs/scrapers/less.rb | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee
b/assets/javascripts/templates/pages/about_tmpl.coffee
index 000ae40e..1428a3f9 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -438,7 +438,7 @@ credits = [
'https://raw.githubusercontent.com/Leaflet/Leaflet/master/LICENSE'
], [
'Less',
- '2009-2016 The Core Less Team',
+ '2009-2020 The Core Less Team',
'CC BY',
'https://creativecommons.org/licenses/by/3.0/'
], [
diff --git a/lib/docs/filters/less/clean_html.rb b/lib/docs/filters/less/clean_html.rb
index 74a7a222..96c64ba3 100644
--- a/lib/docs/filters/less/clean_html.rb
+++ b/lib/docs/filters/less/clean_html.rb
@@ -7,7 +7,7 @@ module Docs
node.remove
end
- css('.source-link', 'a[id$="md"]', 'br').remove
+ css('.navbar', '.source-link', 'a[id$="md"]', 'br').remove
css('#functions-overview').each do |node|
node.ancestors('.docs-section').remove
diff --git a/lib/docs/scrapers/less.rb b/lib/docs/scrapers/less.rb
index b19bbe17..fba9d2ac 100644
--- a/lib/docs/scrapers/less.rb
+++ b/lib/docs/scrapers/less.rb
@@ -1,7 +1,7 @@
module Docs
class Less < UrlScraper
self.type = 'simple'
- self.release = '2.7.2'
+ self.release = '3.12.0'
self.base_url = 'http://lesscss.org'
self.root_path = '/features'
self.initial_paths = %w(/functions)
@@ -18,7 +18,7 @@ module Docs
options[:trailing_slash] = false
options[:attribution] = <<-HTML
- © 2009–2016 The Core Less Team<br>
+ © 2009–2020 The Core Less Team<br>
Licensed under the Creative Commons Attribution License 3.0.
HTML
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]