From dcb7832ed51b2aeb2ea7386e2f07fcb5d7eb0c6d Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Mon, 26 Jul 2010 00:01:23 +0200 Subject: [PATCH] APIs for individual components are no longer published --- Rakefile | 3 --- actionmailer/Rakefile | 6 ------ activerecord/Rakefile | 6 ------ activeresource/Rakefile | 6 ------ activesupport/Rakefile | 6 ------ 5 files changed, 27 deletions(-) diff --git a/Rakefile b/Rakefile index 4d9e80eb9d..4e56da5ab3 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 ce5f7a36d9..a47426bd07 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 66ebb6344c..36cd7e3e6c 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 63444be1d0..2145f1017c 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 28426f94ea..8e2683ef89 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 -- GitLab