Permalink
Browse files

Generate authors file

  • Loading branch information...
lifo committed Sep 14, 2008
1 parent 5ca3541 commit 25db44b2564e19c2085ad1db374cfd797345f517
Showing with 7 additions and 4 deletions.
  1. +7 −4 railties/Rakefile
View
@@ -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 ----------------------------------------------------------------------------

0 comments on commit 25db44b

Please sign in to comment.