diff --git a/Rakefile b/Rakefile index 6a64fc17..bb1e8133 100644 --- a/Rakefile +++ b/Rakefile @@ -51,14 +51,15 @@ if RUBY_PLATFORM.match(/win32|mingw32/) end # RDoc Task -desc "Generate rdoc documentation" +desc 'Generate rdoc documentation' RDoc::Task.new("rdoc") do |rdoc| rdoc.rdoc_dir = 'website/_site/rdoc' - rdoc.title = "LibXML" + rdoc.title = 'LibXML' + rdoc.generator = 'hanna' + # Show source inline with line numbers - rdoc.options << "--line-numbers" - rdoc.options << "--charset=utf-8" - rdoc.options << "--format=hanna" + rdoc.options << '--line-numbers' + rdoc.options << '--charset=utf-8' # Make the readme file the start page for the generated html rdoc.main = 'README.rdoc' rdoc.rdoc_files.include('doc/*.rdoc', diff --git a/libxml-ruby.gemspec b/libxml-ruby.gemspec index 920e24b1..b9160bc0 100644 --- a/libxml-ruby.gemspec +++ b/libxml-ruby.gemspec @@ -41,5 +41,4 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 1.8.6' spec.date = DateTime.now spec.license = 'MIT' - spec.add_development_dependency('hanna_guado') end