Exclude lib/actionpack.rb from rdoc
This commit is contained in:
parent
8692e1722e
commit
a61a2af6ed
|
@ -54,7 +54,9 @@ Rake::RDocTask.new { |rdoc|
|
||||||
rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/))
|
rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/))
|
||||||
else
|
else
|
||||||
rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG')
|
rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG')
|
||||||
rdoc.rdoc_files.include(Dir['lib/**/*.rb'] - Dir['lib/*/vendor/**/*.rb'])
|
rdoc.rdoc_files.include(Dir['lib/**/*.rb'] -
|
||||||
|
Dir['lib/*/vendor/**/*.rb'] -
|
||||||
|
['lib/actionpack.rb'])
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue