Skip to content

Have the doc:app rake task process all .rdoc files from both top-level and doc/ directories #11913

Closed
wants to merge 1 commit into from
View
3 railties/lib/rails/tasks/documentation.rake
@@ -50,7 +50,8 @@ else
rdoc.title = ENV['title'] || "Rails Application Documentation"
rdoc.options << '--line-numbers'
rdoc.options << '--charset' << 'utf-8'
- rdoc.rdoc_files.include('README.rdoc')
+ rdoc.rdoc_files.include('*.rdoc')
+ rdoc.rdoc_files.include('doc/*.rdoc')
rdoc.rdoc_files.include('app/**/*.rb')
rdoc.rdoc_files.include('lib/**/*.rb')
}
Something went wrong with that request. Please try again.