##// END OF EJS Templates
Revert part of r4064....
Revert part of r4064. Having link_to_if_authorized support urls has too many edge cases and isn't working with sub-uris. #6195 #6513 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4257 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3808:2e14ba95a034
r4143:5823a71c1851
Show More
yardoc.rake
21 lines | 578 B | text/x-ruby | RubyLexer
begin
require 'yard'
YARD::Rake::YardocTask.new do |t|
files = ['lib/**/*.rb', 'app/**/*.rb']
files << Dir['vendor/plugins/**/*.rb'].reject {|f| f.match(/test/) } # Exclude test files
t.files = files
static_files = ['doc/CHANGELOG',
'doc/COPYING',
'doc/INSTALL',
'doc/RUNNING_TESTS',
'doc/UPGRADING'].join(',')
t.options += ['--output-dir', './doc/app', '--files', static_files]
end
rescue LoadError
# yard not installed (gem install yard)
# http://yardoc.org
end