lib/sdoc_helpers/pages.rb in sdoc-helpers-0.1.3 vs lib/sdoc_helpers/pages.rb in sdoc-helpers-0.1.4
- old
+ new
@@ -1,15 +1,8 @@
require 'rake/rdoctask'
readme = Dir['*'].grep(/README/)[0]
files = [ readme, 'LICENSE', 'lib' ]
-
-# any markdown files in the root
-files += Dir['*.md']
-
-# any files that are ALLCAPS
-files += Dir['*'].select { |file| file =~ /^[A-Z]$/ }
-
files.push('CONTRIBUTORS') if Dir['*'].include?('CONTRIBUTORS')
Rake::RDocTask.new do |rdoc|
rdoc.main = readme
rdoc.rdoc_files = files