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.
28 lines
635 B
28 lines
635 B
11 years ago
|
module Docs
|
||
|
class Grunt < UrlScraper
|
||
|
self.name = 'Grunt'
|
||
|
self.type = 'grunt'
|
||
|
self.version = '0.4.4'
|
||
|
self.base_url = 'http://gruntjs.com/'
|
||
|
self.root_path = 'getting-started'
|
||
|
self.initial_paths = %w(api/grunt)
|
||
|
|
||
|
html_filters.push 'grunt/clean_html', 'grunt/entries'
|
||
|
|
||
|
options[:only] = %w(
|
||
|
configuring-tasks
|
||
|
sample-gruntfile
|
||
|
creating-tasks
|
||
|
using-the-cli
|
||
|
)
|
||
|
options[:only_patterns] = [/\Aapi\//]
|
||
|
|
||
|
options[:container] = '.container > .row-fluid'
|
||
|
|
||
|
options[:attribution] = <<-HTML
|
||
|
© 2014 Grunt Team<br>
|
||
|
Licensed under the MIT License.
|
||
|
HTML
|
||
|
end
|
||
|
end
|