mirror of https://github.com/freeCodeCamp/devdocs
parent
bc95cfdbfa
commit
b035be3e2c
@ -1,12 +1,8 @@
|
||||
._less {
|
||||
padding-left: 1rem;
|
||||
|
||||
> h1, > h2, > h3 { margin-left: -1rem; }
|
||||
> h2, > h3 { @extend %block-heading; }
|
||||
> h4 { margin-top: 2em; }
|
||||
|
||||
> .function {
|
||||
margin-left: -1rem;
|
||||
@extend %block-label, %label-blue;
|
||||
}
|
||||
> h1, > h2, h3, h4 { margin-left: -1rem; }
|
||||
> h2 { @extend %block-heading; }
|
||||
h3, h4 { @extend %block-label, %label-blue; }
|
||||
code { @extend %label; }
|
||||
}
|
||||
|
@ -1,18 +1,21 @@
|
||||
module Docs
|
||||
class Less < UrlScraper
|
||||
self.type = 'less'
|
||||
self.version = '1.6.0'
|
||||
self.version = '1.6.3'
|
||||
self.base_url = 'http://lesscss.org'
|
||||
self.root_path = '/features'
|
||||
self.initial_paths = %w(/functions)
|
||||
|
||||
html_filters.push 'less/clean_html', 'less/entries', 'title'
|
||||
html_filters.push 'less/entries', 'less/clean_html', 'title'
|
||||
|
||||
options[:title] = 'LESS'
|
||||
options[:container] = 'section'
|
||||
options[:skip_links] = true
|
||||
options[:title] = 'Less'
|
||||
options[:container] = 'div[role=main]'
|
||||
options[:follow_links] = false
|
||||
options[:trailing_slash] = false
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
© 2009–2014 Alexis Sellier & The Core Less Team<br>
|
||||
Licensed under the Apache License v2.0.
|
||||
© 2009–2014 The Core Less Team<br>
|
||||
Licensed under the Creative Commons Attribution License 3.0.
|
||||
HTML
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in new issue