1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Add a doc-src directory for documentation files.

This commit is contained in:
Nathan Weizenbaum 2009-06-18 13:16:16 -07:00
parent daa6b3542f
commit 691272b60b
2 changed files with 2 additions and 6 deletions

View file

@ -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)