From d8b67f7fe1ff281a7ba00bd187fe938a12bb5566 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 28 May 2007 22:55:14 +0000 Subject: Generate rdoc with utf-8 charset. Closes #7188 [manfred, jferris] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionmailer/Rakefile | 1 + actionpack/Rakefile | 1 + actionwebservice/Rakefile | 1 + activerecord/Rakefile | 1 + activeresource/Rakefile | 1 + activesupport/Rakefile | 1 + railties/Rakefile | 1 + 7 files changed, 7 insertions(+) diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index aac65b21c3..02ef4d6f13 100755 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -34,6 +34,7 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Action Mailer -- Easy email delivery and testing" rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' + rdoc.options << '--charset' << 'utf-8' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'CHANGELOG') rdoc.rdoc_files.include('lib/action_mailer.rb') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 4bca6b6dfd..5c2869f06f 100755 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -48,6 +48,7 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Action Pack -- On rails from request to response" rdoc.options << '--line-numbers' << '--inline-source' + rdoc.options << '--charset' << 'utf-8' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] if ENV['DOC_FILES'] rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/)) diff --git a/actionwebservice/Rakefile b/actionwebservice/Rakefile index fec9aae903..e2245c9223 100644 --- a/actionwebservice/Rakefile +++ b/actionwebservice/Rakefile @@ -44,6 +44,7 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Action Web Service -- Web services for Action Pack" rdoc.options << '--line-numbers' << '--inline-source' + rdoc.options << '--charset' << 'utf-8' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('CHANGELOG') diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 7c9e2fcc44..9a9e00747a 100755 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -119,6 +119,7 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Active Record -- Object-relation mapping put on rails" rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' + rdoc.options << '--charset' << 'utf-8' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG') rdoc.rdoc_files.include('lib/**/*.rb') diff --git a/activeresource/Rakefile b/activeresource/Rakefile index 1a645263ca..321761161f 100644 --- a/activeresource/Rakefile +++ b/activeresource/Rakefile @@ -40,6 +40,7 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Active Resource -- Object-oriented REST services" rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' + rdoc.options << '--charset' << 'utf-8' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'CHANGELOG') rdoc.rdoc_files.include('lib/**/*.rb') diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 03997a35dd..5bccc3ca4c 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -30,6 +30,7 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Active Support -- Utility classes and standard library extensions from Rails" rdoc.options << '--line-numbers' << '--inline-source' + rdoc.options << '--charset' << 'utf-8' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'CHANGELOG') rdoc.rdoc_files.include('lib/active_support.rb') diff --git a/railties/Rakefile b/railties/Rakefile index ad6590fe87..f444e823f0 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -270,6 +270,7 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Railties -- Gluing the Engine to the Rails" rdoc.options << '--line-numbers' << '--inline-source' << '--accessor' << 'cattr_accessor=object' + rdoc.options << '--charset' << 'utf-8' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'CHANGELOG') rdoc.rdoc_files.include('lib/*.rb') -- cgit v1.2.3