mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
deletes the rdoc task of each component, they are no longer published separately
This commit is contained in:
parent
f6222ead47
commit
43291469cb
7 changed files with 0 additions and 129 deletions
|
@ -1,8 +1,5 @@
|
|||
gem 'rdoc', '>= 2.5.10'
|
||||
require 'rdoc'
|
||||
require 'rake'
|
||||
require 'rake/testtask'
|
||||
require 'rdoc/task'
|
||||
require 'rake/packagetask'
|
||||
require 'rake/gempackagetask'
|
||||
|
||||
|
@ -25,19 +22,6 @@ namespace :test do
|
|||
end
|
||||
end
|
||||
|
||||
# Generate the RDoc documentation
|
||||
RDoc::Task.new { |rdoc|
|
||||
rdoc.rdoc_dir = 'doc'
|
||||
rdoc.title = "Action Mailer -- Easy email delivery and testing"
|
||||
rdoc.options << '--charset' << 'utf-8'
|
||||
rdoc.options << '-f' << 'horo'
|
||||
rdoc.options << '--main' << 'README.rdoc'
|
||||
rdoc.rdoc_files.include('README.rdoc', 'CHANGELOG')
|
||||
rdoc.rdoc_files.include('lib/action_mailer.rb')
|
||||
rdoc.rdoc_files.include('lib/action_mailer/*.rb')
|
||||
rdoc.rdoc_files.include('lib/action_mailer/delivery_method/*.rb')
|
||||
}
|
||||
|
||||
spec = eval(File.read('actionmailer.gemspec'))
|
||||
|
||||
Rake::GemPackageTask.new(spec) do |p|
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
gem 'rdoc', '>= 2.5.10'
|
||||
require 'rdoc'
|
||||
require 'rake'
|
||||
require 'rake/testtask'
|
||||
require 'rdoc/task'
|
||||
require 'rake/packagetask'
|
||||
require 'rake/gempackagetask'
|
||||
|
||||
|
@ -36,24 +33,6 @@ Rake::TestTask.new(:test_active_record_integration) do |t|
|
|||
t.test_files = Dir.glob("test/activerecord/*_test.rb")
|
||||
end
|
||||
|
||||
# Genereate the RDoc documentation
|
||||
|
||||
RDoc::Task.new { |rdoc|
|
||||
rdoc.rdoc_dir = 'doc'
|
||||
rdoc.title = "Action Pack -- On rails from request to response"
|
||||
rdoc.options << '--charset' << 'utf-8'
|
||||
rdoc.options << '-f' << 'horo'
|
||||
rdoc.options << '--main' << 'README.rdoc'
|
||||
if ENV['DOC_FILES']
|
||||
rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/))
|
||||
else
|
||||
rdoc.rdoc_files.include('README.rdoc', 'RUNNING_UNIT_TESTS', 'CHANGELOG')
|
||||
rdoc.rdoc_files.include(Dir['lib/**/*.rb'] -
|
||||
Dir['lib/*/vendor/**/*.rb'])
|
||||
rdoc.rdoc_files.exclude('lib/actionpack.rb')
|
||||
end
|
||||
}
|
||||
|
||||
spec = eval(File.read('actionpack.gemspec'))
|
||||
|
||||
Rake::GemPackageTask.new(spec) do |p|
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
dir = File.dirname(__FILE__)
|
||||
|
||||
gem 'rdoc', '>= 2.5.10'
|
||||
require 'rdoc'
|
||||
|
||||
require 'rake/testtask'
|
||||
|
||||
task :default => :test
|
||||
|
@ -22,21 +19,6 @@ namespace :test do
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
require 'rdoc/task'
|
||||
|
||||
# Generate the RDoc documentation
|
||||
RDoc::Task.new do |rdoc|
|
||||
rdoc.rdoc_dir = "doc"
|
||||
rdoc.title = "Active Model"
|
||||
rdoc.options << '-f' << 'horo'
|
||||
rdoc.options << '--charset' << 'utf-8'
|
||||
rdoc.options << '--main' << 'README.rdoc'
|
||||
rdoc.rdoc_files.include("README.rdoc", "CHANGELOG")
|
||||
rdoc.rdoc_files.include("lib/**/*.rb")
|
||||
end
|
||||
|
||||
|
||||
require 'rake/packagetask'
|
||||
require 'rake/gempackagetask'
|
||||
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
gem 'rdoc', '>= 2.5.10'
|
||||
require 'rdoc'
|
||||
require 'rake'
|
||||
require 'rake/testtask'
|
||||
require 'rdoc/task'
|
||||
require 'rake/packagetask'
|
||||
require 'rake/gempackagetask'
|
||||
|
||||
|
@ -163,28 +160,6 @@ end
|
|||
task :build_frontbase_databases => 'frontbase:build_databases'
|
||||
task :rebuild_frontbase_databases => 'frontbase:rebuild_databases'
|
||||
|
||||
|
||||
# Generate the RDoc documentation
|
||||
|
||||
RDoc::Task.new { |rdoc|
|
||||
rdoc.rdoc_dir = 'doc'
|
||||
rdoc.title = "Active Record -- Object-relation mapping put on rails"
|
||||
rdoc.options << '-f' << 'horo'
|
||||
rdoc.options << '--main' << 'README.rdoc'
|
||||
rdoc.options << '--charset' << 'utf-8'
|
||||
rdoc.rdoc_files.include('README.rdoc', 'RUNNING_UNIT_TESTS', 'CHANGELOG')
|
||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||
rdoc.rdoc_files.exclude('lib/active_record/vendor/*')
|
||||
rdoc.rdoc_files.include('dev-utils/*.rb')
|
||||
}
|
||||
|
||||
# Enhance rdoc task to copy referenced images also
|
||||
task :rdoc do
|
||||
FileUtils.mkdir_p "doc/files/examples/"
|
||||
FileUtils.copy "examples/associations.png", "doc/files/examples/associations.png"
|
||||
end
|
||||
|
||||
|
||||
spec = eval(File.read('activerecord.gemspec'))
|
||||
|
||||
Rake::GemPackageTask.new(spec) do |p|
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
gem 'rdoc', '>= 2.5.10'
|
||||
require 'rdoc'
|
||||
require 'rake'
|
||||
require 'rake/testtask'
|
||||
require 'rdoc/task'
|
||||
require 'rake/packagetask'
|
||||
require 'rake/gempackagetask'
|
||||
|
||||
|
@ -27,20 +24,6 @@ namespace :test do
|
|||
end
|
||||
end
|
||||
|
||||
# Generate the RDoc documentation
|
||||
|
||||
RDoc::Task.new { |rdoc|
|
||||
rdoc.rdoc_dir = 'doc'
|
||||
rdoc.title = "Active Resource -- Object-oriented REST services"
|
||||
rdoc.options << '-f' << 'horo'
|
||||
rdoc.options << '--main' << 'README.rdoc'
|
||||
rdoc.options << '--charset' << 'utf-8'
|
||||
rdoc.rdoc_files.include('README.rdoc', 'CHANGELOG')
|
||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||
rdoc.rdoc_files.exclude('lib/activeresource.rb')
|
||||
}
|
||||
|
||||
|
||||
spec = eval(File.read('activeresource.gemspec'))
|
||||
|
||||
Rake::GemPackageTask.new(spec) do |p|
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
gem 'rdoc', '>= 2.5.10'
|
||||
require 'rdoc'
|
||||
require 'rake/testtask'
|
||||
require 'rdoc/task'
|
||||
require 'rake/gempackagetask'
|
||||
|
||||
task :default => :test
|
||||
|
@ -21,19 +18,6 @@ end
|
|||
# Create compressed packages
|
||||
dist_dirs = [ "lib", "test"]
|
||||
|
||||
# Genereate the RDoc documentation
|
||||
|
||||
RDoc::Task.new { |rdoc|
|
||||
rdoc.rdoc_dir = 'doc'
|
||||
rdoc.title = "Active Support -- Utility classes and standard library extensions from Rails"
|
||||
rdoc.options << '-f' << 'horo'
|
||||
rdoc.options << '--main' << 'README.rdoc'
|
||||
rdoc.options << '--charset' << 'utf-8'
|
||||
rdoc.rdoc_files.include('README.rdoc', 'CHANGELOG')
|
||||
rdoc.rdoc_files.include('lib/active_support.rb')
|
||||
rdoc.rdoc_files.include('lib/active_support/**/*.rb')
|
||||
}
|
||||
|
||||
spec = eval(File.read('activesupport.gemspec'))
|
||||
|
||||
Rake::GemPackageTask.new(spec) do |p|
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
gem 'rdoc', '>= 2.5.10'
|
||||
require 'rdoc'
|
||||
require 'rake'
|
||||
require 'rake/testtask'
|
||||
require 'rdoc/task'
|
||||
require 'rake/gempackagetask'
|
||||
|
||||
require 'date'
|
||||
|
@ -58,19 +55,6 @@ task :validate_guides do
|
|||
ruby "guides/w3c_validator.rb"
|
||||
end
|
||||
|
||||
# Generate documentation ------------------------------------------------------------------
|
||||
|
||||
RDoc::Task.new { |rdoc|
|
||||
rdoc.rdoc_dir = 'doc'
|
||||
rdoc.title = "Railties -- Gluing the Engine to the Rails"
|
||||
rdoc.options << '-f' << 'horo'
|
||||
rdoc.options << '--main' << 'README.rdoc'
|
||||
rdoc.options << '--charset' << 'utf-8'
|
||||
rdoc.rdoc_files.include('README.rdoc', 'CHANGELOG')
|
||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||
rdoc.rdoc_files.exclude('lib/rails/generators/**/templates/*')
|
||||
}
|
||||
|
||||
# Generate GEM ----------------------------------------------------------------------------
|
||||
|
||||
spec = eval(File.read('railties.gemspec'))
|
||||
|
|
Loading…
Reference in a new issue