Permalink
Browse files

Updates tasks to use README.md, instead of README.rdoc

  • Loading branch information...
alindeman committed Nov 26, 2011
1 parent 9c634f1 commit b08af136e438440daeffa28a1a8bddbf8ecc65ba
Showing with 5 additions and 5 deletions.
  1. +1 −1 Rakefile
  2. +2 −2 sunspot/tasks/rdoc.rake
  3. +2 −2 sunspot_rails/dev_tasks/rdoc.rake
View
@@ -1,6 +1,6 @@
desc 'Release Sunspot, Sunspot::Rails and Sunspot::Solr to Gemcutter'
task :release do
- FileUtils.cp('README.rdoc', 'sunspot/')
+ FileUtils.cp('README.md', 'sunspot/')
require File.expand_path('../sunspot/lib/sunspot/version', __FILE__)
View
@@ -10,8 +10,8 @@ end
Rake::RDocTask.new(:doc) do |rdoc|
version = Sunspot::VERSION
rdoc.title = "Sunspot #{version} - Solr-powered search for Ruby objects - API Documentation"
- rdoc.main = 'README.rdoc'
- rdoc.rdoc_files.include('README.rdoc', 'lib/sunspot.rb', 'lib/sunspot/**/*.rb')
+ rdoc.main = 'README.md'
+ rdoc.rdoc_files.include('README.md', 'lib/sunspot.rb', 'lib/sunspot/**/*.rb')
rdoc.rdoc_dir = 'doc'
rdoc.options << "--webcvs=http://github.com/outoftime/sunspot/tree/v#{version}/%s" << '--title' << 'Sunspot - Solr-powered search for Ruby objects - API Documentation'
end
@@ -8,8 +8,8 @@ rescue LoadError
end
Rake::RDocTask.new(:doc) do |rdoc|
- rdoc.main = 'README.rdoc'
- rdoc.rdoc_files.include('README.rdoc', 'lib/sunspot/rails/**/*.rb', 'lib/sunspot/rails.rb')
+ rdoc.main = 'README.md'
+ rdoc.rdoc_files.include('README.md', 'lib/sunspot/rails/**/*.rb', 'lib/sunspot/rails.rb')
rdoc.rdoc_dir = 'doc'
end

0 comments on commit b08af13

Please sign in to comment.