aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-09-14 13:48:34 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-09-14 13:49:29 +0100
commit25db44b2564e19c2085ad1db374cfd797345f517 (patch)
treed99a713cb58f43b47b3181f7a3e219dea535967f /railties/Rakefile
parent5ca354133fd837ec75d98b3fc73936b2650046fe (diff)
downloadrails-25db44b2564e19c2085ad1db374cfd797345f517.tar.gz
rails-25db44b2564e19c2085ad1db374cfd797345f517.tar.bz2
rails-25db44b2564e19c2085ad1db374cfd797345f517.zip
Generate authors file
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index ec2fe850e6..39c0ec89e7 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -306,15 +306,18 @@ guides.each do |entry|
end
end
-task 'doc/guides/index.html' => 'doc/guides/index.txt' do
- ENV.delete('MANUALSONRAILS_INDEX_URL')
- ENV['MANUALSONRAILS_TOC'] = 'no'
- sh "mizuho", 'doc/guides/index.txt', "--template", "manualsonrails", "--icons-dir", "icons"
+['index', 'authors'].each do |guide|
+ task "doc/guides/#{guide}.html" => "doc/guides/#{guide}.txt" do
+ ENV.delete('MANUALSONRAILS_INDEX_URL')
+ ENV['MANUALSONRAILS_TOC'] = 'no'
+ sh "mizuho", "doc/guides/#{guide}.txt", "--template", "manualsonrails", "--icons-dir", "icons"
+ end
end
desc "Generate HTML output for the guides"
task :generate_guides => guides_html_files
task :generate_guides => 'doc/guides/index.html'
+task :generate_guides => 'doc/guides/authors.html'
# Generate GEM ----------------------------------------------------------------------------