diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-19 04:31:53 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-19 04:31:53 +0000 |
commit | 31d233e56716acefee6f0499688499cb262f1754 (patch) | |
tree | 050b6207898913e9e606af35a7647e5e3050a436 | |
parent | 4ff607012623e9a8dbe4f9d586bd0d1b511468fd (diff) | |
download | redmine-31d233e56716acefee6f0499688499cb262f1754.tar.gz redmine-31d233e56716acefee6f0499688499cb262f1754.zip |
Merged r3922 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3972 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/tasks/yardoc.rake | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/tasks/yardoc.rake b/lib/tasks/yardoc.rake index 88cf9b85e..aa6c5eeb0 100644 --- a/lib/tasks/yardoc.rake +++ b/lib/tasks/yardoc.rake @@ -5,7 +5,14 @@ begin files = ['lib/**/*.rb', 'app/**/*.rb'] files << Dir['vendor/plugins/**/*.rb'].reject {|f| f.match(/test/) } # Exclude test files t.files = files - t.options += ['--output-dir', './doc/app'] + + 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 |