summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-08-07 15:11:26 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-08-07 15:11:26 +0000
commit2e14ba95a034341bffc27ff5028090b60ecaf456 (patch)
tree0fd46a54e92d2e9acb59696c167891b95de90aa2 /lib/tasks
parent2c79572e4bdcbc00412d618aa84cfc5142b44d26 (diff)
downloadredmine-2e14ba95a034341bffc27ff5028090b60ecaf456.tar.gz
redmine-2e14ba95a034341bffc27ff5028090b60ecaf456.zip
Add static docs to YARD.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3922 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/yardoc.rake9
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