diff options
author | Colin Curtin <colin@procore.com> | 2008-11-26 10:18:03 -0800 |
---|---|---|
committer | Colin Curtin <colin@procore.com> | 2008-11-26 10:18:03 -0800 |
commit | 4812e350b9e96641a29c8db6ea153426dad1c9a2 (patch) | |
tree | 1aa5ab05d8ff420c833677505f9b884ec61e4627 /railties/Rakefile | |
parent | 78af01f80b3622237462d150aca4aba18204c093 (diff) | |
parent | d18bfa2a4165297dbf5e6b1fff1731fefa9dd135 (diff) | |
download | rails-4812e350b9e96641a29c8db6ea153426dad1c9a2.tar.gz rails-4812e350b9e96641a29c8db6ea153426dad1c9a2.tar.bz2 rails-4812e350b9e96641a29c8db6ea153426dad1c9a2.zip |
Merge branch 'master' of git@github.com:lifo/docrails
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 |