From 691272b60b12e78bb4a154b5f376feb05ada5d83 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Thu, 18 Jun 2009 13:16:16 -0700 Subject: [PATCH] Add a doc-src directory for documentation files. --- Rakefile | 8 ++------ FAQ.md => doc-src/FAQ.md | 0 2 files changed, 2 insertions(+), 6 deletions(-) rename FAQ.md => doc-src/FAQ.md (100%) diff --git a/Rakefile b/Rakefile index 15efc4c2..2e5f693f 100644 --- a/Rakefile +++ b/Rakefile @@ -137,12 +137,8 @@ begin list.exclude('lib/haml/helpers/action_view_mods.rb') end.to_a t.options += FileList.new('yard/*.rb').to_a.map {|f| ['-e', f]}.flatten - t.options << '--files' << FileList.new('*') do |list| - list.exclude(/(^|[^.a-z])[a-z]+/) - list.exclude('README.md') - list.exclude('REVISION') - list.exclude('TODO') - end.to_a.join(',') + files = FileList.new('doc-src/*').to_a + %w[MIT-LICENSE VERSION] + t.options << '--files' << files.join(',') end Rake::Task['yardoc'].instance_variable_set('@comment', nil) diff --git a/FAQ.md b/doc-src/FAQ.md similarity index 100% rename from FAQ.md rename to doc-src/FAQ.md