diff options
author | Xavier Noria <fxn@hashref.com> | 2008-11-18 00:41:20 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2008-11-18 00:41:20 +0100 |
commit | 90a1a9a2253381ba0799848beadf29232affb8d5 (patch) | |
tree | 2dee223e16347b9701b032a36b5521340bb57f3e /railties/Rakefile | |
parent | 74569f3e204b92e7c96a920b9bfde785323c61f4 (diff) | |
download | rails-90a1a9a2253381ba0799848beadf29232affb8d5.tar.gz rails-90a1a9a2253381ba0799848beadf29232affb8d5.tar.bz2 rails-90a1a9a2253381ba0799848beadf29232affb8d5.zip |
adding a config file for asciidoc, needs latest mizuho to take effect
Diffstat (limited to 'railties/Rakefile')
-rw-r--r-- | railties/Rakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 52357a09c5..98aac97022 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -282,6 +282,7 @@ task :guides do FileUtils.mkdir(html) template = File.expand_path("doc/guides/source/templates/guides.html.erb") + asciidoc_conf = 'doc/guides/asciidoc.conf' ignore = ['..', 'icons', 'images', 'templates', 'stylesheets'] ignore << 'active_record_basics.txt' @@ -311,7 +312,7 @@ task :guides do begin puts "GENERATING => #{output}" ENV['MANUALSONRAILS_TOC'] = 'no' if indexless.include?(entry) - Mizuho::Generator.new(input, :output => output, :template => template).start + Mizuho::Generator.new(input, :output => output, :template => template, :conf_file => asciidoc_conf).start rescue Mizuho::GenerationError STDERR.puts "*** ERROR" exit 2 |