Permalink
Browse files

Remove rdoc task from generated plugin Rakefile

  • Loading branch information...
1 parent 259f384 commit 5bf5688f51591efa838c1c3ab9ab91dd015ba68e @josh josh committed Jan 22, 2010
Showing with 0 additions and 10 deletions.
  1. +0 −10 railties/lib/generators/rails/plugin/templates/Rakefile.tt
View
10 railties/lib/generators/rails/plugin/templates/Rakefile.tt
@@ -1,6 +1,5 @@
require 'rake'
require 'rake/testtask'
-require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
@@ -11,12 +10,3 @@ Rake::TestTask.new(:test) do |t|
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
end
-
-desc 'Generate documentation for the <%= file_name %> plugin.'
-Rake::RDocTask.new(:rdoc) do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = '<%= class_name %>'
- rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end

0 comments on commit 5bf5688

Please sign in to comment.