mirror of
https://github.com/github/rails.git
synced 2026-01-28 07:48:00 -05:00
Fixed documentation tasks to work with Rake 0.7.0 (closes #3563) [kazuhiko@fdiary.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3451 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Fixed documentation tasks to work with Rake 0.7.0 #3563 [kazuhiko@fdiary.net]
|
||||
|
||||
* Update to Prototype 1.5.0_pre0 [Sam Stephenson]
|
||||
|
||||
* Sort the list of plugins so we load in a consistent order [Rick Olson]
|
||||
|
||||
@@ -16,7 +16,7 @@ plugins.each do |plugin|
|
||||
files = Rake::FileList.new
|
||||
options << "-o doc/plugins/#{plugin}"
|
||||
options << "--title '#{plugin.titlecase} Plugin Documentation'"
|
||||
options << '--line-numbers --inline-source'
|
||||
options << '--line-numbers' << '--inline-source'
|
||||
options << '-T html'
|
||||
|
||||
files.include("#{plugin_base}/lib/**/*.rb")
|
||||
@@ -45,7 +45,7 @@ Rake::RDocTask.new("apidoc") { |rdoc|
|
||||
rdoc.rdoc_dir = 'doc/api'
|
||||
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
||||
rdoc.title = "Rails Framework Documentation"
|
||||
rdoc.options << '--line-numbers --inline-source'
|
||||
rdoc.options << '--line-numbers' << '--inline-source'
|
||||
rdoc.rdoc_files.include('README')
|
||||
rdoc.rdoc_files.include('vendor/rails/railties/CHANGELOG')
|
||||
rdoc.rdoc_files.include('vendor/rails/railties/MIT-LICENSE')
|
||||
|
||||
Reference in New Issue
Block a user