mirror of https://github.com/freeCodeCamp/devdocs
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
493 B
19 lines
493 B
module Docs
|
|
class Less < UrlScraper
|
|
self.type = 'less'
|
|
self.version = '1.4.1'
|
|
self.base_url = 'http://lesscss.org'
|
|
|
|
html_filters.push 'less/clean_html', 'less/entries', 'title'
|
|
|
|
options[:title] = 'LESS'
|
|
options[:container] = 'section'
|
|
options[:skip_links] = -> (_) { true }
|
|
|
|
options[:attribution] = <<-HTML.strip_heredoc
|
|
© 2009–2013 Alexis Sellier & The Core Less Team<br>
|
|
Licensed under the Apache License v2.0.
|
|
HTML
|
|
end
|
|
end
|