]> source.dussan.org Git - redmine.git/commitdiff
Merged r3922 from trunk.
authorEric Davis <edavis@littlestreamsoftware.com>
Thu, 19 Aug 2010 04:31:53 +0000 (04:31 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Thu, 19 Aug 2010 04:31:53 +0000 (04:31 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.0-stable@3972 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/tasks/yardoc.rake

index 88cf9b85e5fd2adcc0194f4449fb41fa3f8dcc53..aa6c5eeb02dd3b67bb75f7a45ce9cf61678e2937 100644 (file)
@@ -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