Rebuild documentation using Rocco
c1510cfdcc
Add support for a ':stylesheet' option. |
||
---|---|---|
lib/guard | ||
spec | ||
.gitignore | ||
.travis.yml | ||
Gemfile | ||
guard-rocco.gemspec | ||
Guardfile | ||
Rakefile | ||
README.md |
It's a Guard for the Rocco documentation system!
guard 'rocco' do
watch(%r{^app/.*\.(rb|coffee)$})
watch(%r{^lib/.*\.rb$})
end
Options:
:dir
specifies the output dir (defaultdoc
):stylesheet
specifies a custom stylesheet to use (default is http://jashkenas.github.com/docco/resources/docco.css)
gem install guard-rocco
or Bundle it up with gem 'guard-rocco'
. Then guard init rocco
. Yeah!