mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
removing inline source option from rdoc task. fixes #2169
This commit is contained in:
parent
b744c8493b
commit
bb7e35531e
2 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ end
|
||||||
RDoc::Task.new(:rdoc) do |rdoc|
|
RDoc::Task.new(:rdoc) do |rdoc|
|
||||||
rdoc.rdoc_dir = 'rdoc'
|
rdoc.rdoc_dir = 'rdoc'
|
||||||
rdoc.title = '<%= camelized %>'
|
rdoc.title = '<%= camelized %>'
|
||||||
rdoc.options << '--line-numbers' << '--inline-source'
|
rdoc.options << '--line-numbers'
|
||||||
rdoc.rdoc_files.include('README.rdoc')
|
rdoc.rdoc_files.include('README.rdoc')
|
||||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||||
end
|
end
|
||||||
|
|
|
@ -47,7 +47,7 @@ namespace :doc do
|
||||||
rdoc.rdoc_dir = 'doc/app'
|
rdoc.rdoc_dir = 'doc/app'
|
||||||
rdoc.template = ENV['template'] if ENV['template']
|
rdoc.template = ENV['template'] if ENV['template']
|
||||||
rdoc.title = ENV['title'] || "Rails Application Documentation"
|
rdoc.title = ENV['title'] || "Rails Application Documentation"
|
||||||
rdoc.options << '--line-numbers' << '--inline-source'
|
rdoc.options << '--line-numbers'
|
||||||
rdoc.options << '--charset' << 'utf-8'
|
rdoc.options << '--charset' << 'utf-8'
|
||||||
rdoc.rdoc_files.include('doc/README_FOR_APP')
|
rdoc.rdoc_files.include('doc/README_FOR_APP')
|
||||||
rdoc.rdoc_files.include('app/**/*.rb')
|
rdoc.rdoc_files.include('app/**/*.rb')
|
||||||
|
@ -60,7 +60,7 @@ namespace :doc do
|
||||||
rdoc.rdoc_dir = 'doc/api'
|
rdoc.rdoc_dir = 'doc/api'
|
||||||
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
||||||
rdoc.title = "Rails Framework Documentation"
|
rdoc.title = "Rails Framework Documentation"
|
||||||
rdoc.options << '--line-numbers' << '--inline-source'
|
rdoc.options << '--line-numbers'
|
||||||
rdoc.rdoc_files.include('README')
|
rdoc.rdoc_files.include('README')
|
||||||
|
|
||||||
gem_path('actionmailer') do |actionmailer|
|
gem_path('actionmailer') do |actionmailer|
|
||||||
|
@ -133,7 +133,7 @@ namespace :doc do
|
||||||
files = Rake::FileList.new
|
files = Rake::FileList.new
|
||||||
options << "-o doc/plugins/#{plugin}"
|
options << "-o doc/plugins/#{plugin}"
|
||||||
options << "--title '#{plugin.titlecase} Plugin Documentation'"
|
options << "--title '#{plugin.titlecase} Plugin Documentation'"
|
||||||
options << '--line-numbers' << '--inline-source'
|
options << '--line-numbers'
|
||||||
options << '--charset' << 'utf-8'
|
options << '--charset' << 'utf-8'
|
||||||
options << '-T html'
|
options << '-T html'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue