From 87f01b049e62d31eba57d91580876b30066b1e99 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 14 Jan 2015 08:31:18 +0000 Subject: doc: switch to olddoc for the website wrongdoc was difficult to maintain because of the tidy-ffi dependency and the HTML5 changes in Darkfish could not be handled well by Tidy. olddoc is superior as it generates leaner HTML which loads faster, requires less scrolling and less processing power to render. Aesthetic comparisons are subjective of course but completely unimportant compared to speed and accessibility. --- tdb.gemspec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'tdb.gemspec') diff --git a/tdb.gemspec b/tdb.gemspec index bad795a..c472e16 100644 --- a/tdb.gemspec +++ b/tdb.gemspec @@ -1,7 +1,7 @@ ENV["VERSION"] or abort "VERSION= must be specified" manifest = File.readlines('.manifest').map! { |x| x.chomp! } -require 'wrongdoc' -extend Wrongdoc::Gemspec +require 'olddoc' +extend Olddoc::Gemspec name, summary, title = readme_metadata Gem::Specification.new do |s| @@ -13,11 +13,10 @@ Gem::Specification.new do |s| s.email = %q{ruby-tdb@bogomips.org} s.extra_rdoc_files = extra_rdoc_files(manifest) s.files = manifest - s.rdoc_options = rdoc_options s.summary = summary s.test_files = Dir['test/test_*.rb'] s.extensions = %w(ext/tdb/extconf.rb) - s.add_development_dependency('wrongdoc', '~> 1.8', '>= 1.8.1') + s.add_development_dependency('olddoc', '~> 1.0') s.add_development_dependency('test-unit', '>= 2.0', '< 4.0') - s.licenses = %w(LGPLv2.1+) + s.licenses = %w(LGPL-2.1+) end -- cgit v1.2.3-24-ge0c7