2011-06-18 16:33:23 +00:00
|
|
|
It's a [Guard](http://github.com/guard/guard) for the [Rocco](http://github.com/rtomayko/rocco) documentation system!
|
|
|
|
|
|
|
|
guard 'rocco' do
|
2011-06-18 22:20:49 +00:00
|
|
|
watch(%r{^app/.*\.(rb|coffee)$})
|
|
|
|
watch(%r{^lib/.*\.rb$})
|
2011-06-18 16:33:23 +00:00
|
|
|
end
|
|
|
|
|
2011-10-01 19:56:09 +00:00
|
|
|
Options:
|
2011-06-18 16:33:23 +00:00
|
|
|
|
|
|
|
* `:dir` specifies the output dir (default `doc`)
|
2011-10-01 19:56:09 +00:00
|
|
|
* `:stylesheet` specifies a custom stylesheet to use (default is
|
|
|
|
http://jashkenas.github.com/docco/resources/docco.css)
|
2011-06-18 16:33:23 +00:00
|
|
|
|
2011-06-18 16:33:38 +00:00
|
|
|
`gem install guard-rocco` or Bundle it up with `gem 'guard-rocco'`. Then `guard init rocco`. Yeah!
|
2011-06-18 16:33:23 +00:00
|
|
|
|