Skip to content

Commit

Permalink
removed hanna setup from Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Oct 28, 2008
1 parent a3e6313 commit 157727c
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions Rakefile
Expand Up @@ -129,22 +129,8 @@ end
# Create a task to build the RDOC documentation tree.

rd = Rake::RDocTask.new("rdoc") { |rdoc|
if rdoc.respond_to?(:before_running_rdoc)
# This RDocTask method has only been added recently.
rdoc.before_running_rdoc do
puts "DBG: BEFORE RDOC"
begin
require 'rubygems'
require 'hanna/rdoc_version'
Hanna::require_rdoc
rdoc.template = 'hanna'
rescue LoadError
warn "*** WARNING: The Hanna RDoc template is not installed. Will now use the Jamis template. Type 'gem install mislav-hanna' if you want to install the Hanna."
end
end
end
rdoc.rdoc_dir = 'html'
# rdoc.template = 'doc/jamis.rb'
rdoc.template = 'doc/jamis.rb'
rdoc.title = "Rake -- Ruby Make"
rdoc.options << '--line-numbers' << '--inline-source' <<
'--main' << 'README' <<
Expand Down

0 comments on commit 157727c

Please sign in to comment.