diff --git a/Rakefile b/Rakefile index 4d9e80eb9da..4e56da5ab3f 100644 --- a/Rakefile +++ b/Rakefile @@ -120,9 +120,6 @@ desc "Publish API docs for Rails as a whole and for each component" task :pdoc => :rdoc do require 'rake/contrib/sshpublisher' Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/api", "doc/rdoc").upload - PROJECTS.each do |project| - system %(cd #{project} && #{$0} pdoc) - end end task :update_versions do diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index ce5f7a36d9f..a47426bd074 100644 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -50,9 +50,3 @@ task :release => :package do Rake::Gemcutter::Tasks.new(spec).define Rake::Task['gem:push'].invoke end - -desc "Publish the API documentation" -task :pdoc => [:rdoc] do - require 'rake/contrib/sshpublisher' - Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/am", "doc").upload -end diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 66ebb6344c8..36cd7e3e6c8 100644 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -224,9 +224,3 @@ task :release => :package do Rake::Gemcutter::Tasks.new(spec).define Rake::Task['gem:push'].invoke end - -desc "Publish the API documentation" -task :pdoc => [:rdoc] do - require 'rake/contrib/sshpublisher' - Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/ar", "doc").upload -end diff --git a/activeresource/Rakefile b/activeresource/Rakefile index 63444be1d08..2145f1017ca 100644 --- a/activeresource/Rakefile +++ b/activeresource/Rakefile @@ -80,9 +80,3 @@ task :release => :package do Rake::Gemcutter::Tasks.new(spec).define Rake::Task['gem:push'].invoke end - -desc "Publish the API documentation" -task :pdoc => [:rdoc] do - require 'rake/contrib/sshpublisher' - Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/ar", "doc").upload -end diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 28426f94ea2..8e2683ef89a 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -45,9 +45,3 @@ task :release => :package do Rake::Gemcutter::Tasks.new(spec).define Rake::Task['gem:push'].invoke end - -desc "Publish the API documentation" -task :pdoc => [:rdoc] do - require 'rake/contrib/sshpublisher' - Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/as", "doc").upload -end