##// END OF EJS Templates
Add static docs to YARD....
Eric Davis -
r3808:2e14ba95a034
parent child
Show More
@@ -5,7 +5,14 begin
5 files = ['lib/**/*.rb', 'app/**/*.rb']
5 files = ['lib/**/*.rb', 'app/**/*.rb']
6 files << Dir['vendor/plugins/**/*.rb'].reject {|f| f.match(/test/) } # Exclude test files
6 files << Dir['vendor/plugins/**/*.rb'].reject {|f| f.match(/test/) } # Exclude test files
7 t.files = files
7 t.files = files
8 t.options += ['--output-dir', './doc/app']
8
9 static_files = ['doc/CHANGELOG',
10 'doc/COPYING',
11 'doc/INSTALL',
12 'doc/RUNNING_TESTS',
13 'doc/UPGRADING'].join(',')
14
15 t.options += ['--output-dir', './doc/app', '--files', static_files]
9 end
16 end
10
17
11 rescue LoadError
18 rescue LoadError
General Comments 0
You need to be logged in to leave comments. Login now