Permalink
Browse files

Add description and corrections to rake docs

  • Loading branch information...
1 parent a3d1078 commit 7bb700d671df02bf926df6549ba3d320c310939d @raggi committed Jul 27, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 Rakefile
View
@@ -19,13 +19,14 @@ RDoc::Task.new do |t|
t.rdoc_files.exclude('Rakefile')
end
+desc "Generate then open docs"
task :docs => :rerdoc do
case RUBY_PLATFORM
when /mswin|mingw/
- sh "start", "html/index.html"
+ sh "start", "doc/index.html"
when /darwin/
- sh "open", "html/index.html"
+ sh "open", "doc/index.html"
else
- sh "firefox", "html/index.html"
+ sh "firefox", "doc/index.html"
end
end

0 comments on commit 7bb700d

Please sign in to comment.