Skip to content

Commit

Permalink
Add RDoc task
Browse files Browse the repository at this point in the history
  • Loading branch information
Mat Brown committed Apr 21, 2009
1 parent 950db3f commit c590ecb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ sunspot-solr.pid
*.swp
coverage
pkg
/doc
7 changes: 7 additions & 0 deletions tasks/rdoc.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
require 'rake/rdoctask'

Rake::RDocTask.new do |rdoc|
rdoc.main = 'README.rdoc'
rdoc.rdoc_files.include('README.rdoc', 'lib/sunspot.rb', 'lib/sunspot/**/*.rb')
rdoc.rdoc_dir = 'doc'
end

0 comments on commit c590ecb

Please sign in to comment.