Permalink
Browse files

update to darkfish template

  • Loading branch information...
1 parent dbedf00 commit e616d67d0cfa3173a9c28a5aa303075104c3c694 @copiousfreetime committed Feb 8, 2009
Showing with 3 additions and 4 deletions.
  1. +1 −1 tasks/config.rb
  2. +2 −3 tasks/documentation.rake
View
@@ -85,7 +85,7 @@
files Configuration.for('packaging').files.rdoc
main_page files.first
title Configuration.for('project').name
- options %w[ --line-numbers --inline-source ] #-f darkfish ]
+ options %w[ --line-numbers --inline-source -T darkfish ]
output_dir "doc"
}
View
@@ -8,9 +8,8 @@ if rdoc_config = Configuration.for_if_exist?('rdoc') then
namespace :doc do
+ require 'rdoc'
require 'rake/rdoctask'
- #gem 'darkfish-rdoc'
- #require 'darkfish-rdoc'
# generating documentation locally
Rake::RDocTask.new do |rdoc|
@@ -19,7 +18,7 @@ if rdoc_config = Configuration.for_if_exist?('rdoc') then
rdoc.rdoc_files = rdoc_config.files
rdoc.title = rdoc_config.title
rdoc.main = rdoc_config.main_page
- end
+ end
if rubyforge_config = Configuration.for_if_exist?('rubyforge') then
desc "Deploy the RDoc documentation to #{rubyforge_config.rdoc_location}"

0 comments on commit e616d67

Please sign in to comment.