mirror of https://github.com/rails/rails
pdoc tasks publishe APIs in api.rubyonrails.org
This commit is contained in:
parent
01f3f0dbae
commit
2aa4e5f3fa
2
Rakefile
2
Rakefile
|
@ -128,7 +128,7 @@ end
|
|||
desc "Publish API docs for Rails as a whole and for each component"
|
||||
task :pdoc => :rdoc do
|
||||
require 'rake/contrib/sshpublisher'
|
||||
Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/api", "doc/rdoc").upload
|
||||
Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/api", "doc/rdoc").upload
|
||||
PROJECTS.each do |project|
|
||||
system %(cd #{project} && #{$0} pdoc)
|
||||
end
|
||||
|
|
|
@ -54,5 +54,5 @@ end
|
|||
desc "Publish the API documentation"
|
||||
task :pdoc => [:rdoc] do
|
||||
require 'rake/contrib/sshpublisher'
|
||||
Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/am", "doc").upload
|
||||
Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/am", "doc").upload
|
||||
end
|
||||
|
|
|
@ -223,5 +223,5 @@ end
|
|||
desc "Publish the API documentation"
|
||||
task :pdoc => [:rdoc] do
|
||||
require 'rake/contrib/sshpublisher'
|
||||
Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/ar", "doc").upload
|
||||
Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/ar", "doc").upload
|
||||
end
|
||||
|
|
|
@ -84,5 +84,5 @@ end
|
|||
desc "Publish the API documentation"
|
||||
task :pdoc => [:rdoc] do
|
||||
require 'rake/contrib/sshpublisher'
|
||||
Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/ar", "doc").upload
|
||||
Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/ar", "doc").upload
|
||||
end
|
||||
|
|
|
@ -49,5 +49,5 @@ end
|
|||
desc "Publish the API documentation"
|
||||
task :pdoc => [:rdoc] do
|
||||
require 'rake/contrib/sshpublisher'
|
||||
Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/as", "doc").upload
|
||||
Rake::SshDirPublisher.new("rails@api.rubyonrails.org", "public_html/as", "doc").upload
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue