Rakefile in libxml-ruby-2.7.0 vs Rakefile in libxml-ruby-2.8.0
- old
+ new
@@ -49,17 +49,18 @@
pkg.need_tar = false
end
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',
'ext/**/libxml.c',
'ext/**/ruby_xml.c',
\ No newline at end of file