|
|
@ -2,7 +2,7 @@ module Docs
|
|
|
|
class Grunt < UrlScraper
|
|
|
|
class Grunt < UrlScraper
|
|
|
|
self.name = 'Grunt'
|
|
|
|
self.name = 'Grunt'
|
|
|
|
self.type = 'grunt'
|
|
|
|
self.type = 'grunt'
|
|
|
|
self.release = '0.4.5'
|
|
|
|
self.release = '1.0.1'
|
|
|
|
self.base_url = 'http://gruntjs.com/'
|
|
|
|
self.base_url = 'http://gruntjs.com/'
|
|
|
|
self.root_path = 'getting-started'
|
|
|
|
self.root_path = 'getting-started'
|
|
|
|
self.initial_paths = %w(api/grunt)
|
|
|
|
self.initial_paths = %w(api/grunt)
|
|
|
@ -13,14 +13,17 @@ module Docs
|
|
|
|
configuring-tasks
|
|
|
|
configuring-tasks
|
|
|
|
sample-gruntfile
|
|
|
|
sample-gruntfile
|
|
|
|
creating-tasks
|
|
|
|
creating-tasks
|
|
|
|
|
|
|
|
creating-plugins
|
|
|
|
using-the-cli
|
|
|
|
using-the-cli
|
|
|
|
|
|
|
|
installing-grunt
|
|
|
|
|
|
|
|
project-scaffolding
|
|
|
|
)
|
|
|
|
)
|
|
|
|
options[:only_patterns] = [/\Aapi\//]
|
|
|
|
options[:only_patterns] = [/\Aapi\//, /\Aupgrading-/]
|
|
|
|
|
|
|
|
|
|
|
|
options[:container] = '.container > .row-fluid'
|
|
|
|
options[:container] = '.container > .row-fluid'
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2014 Grunt Team<br>
|
|
|
|
© GruntJS Team<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
end
|
|
|
|
end
|
|
|
|