From aa1befffa9252daa765648a916f4df64133faa7c Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Sat, 6 Mar 2010 14:39:30 -0800 Subject: [PATCH] Add support for custom YARD doc titles (for websites). --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 5ec45659..d2a0a612 100644 --- a/Rakefile +++ b/Rakefile @@ -247,6 +247,7 @@ begin files = FileList.new(scope('doc-src/*')).to_a.sort_by {|s| s.size} + %w[MIT-LICENSE VERSION] t.options << '--files' << files.join(',') t.options << '--template-path' << scope('yard') + t.options << '--title' << ENV["YARD_TITLE"] if ENV["YARD_TITLE"] end Rake::Task['yard'].prerequisites.insert(0, 'yard:sass') Rake::Task['yard'].instance_variable_set('@comment', nil)