Remove 3rd-party libraries from yard files

[#36737359]

Only include ruby source files under lib/msf or lib/rex.
unstable
Luke Imhoff 2012-10-02 13:07:31 -05:00
parent 555a9f2559
commit 696b66578e
1 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,8 @@ require 'yard'
namespace :yard do namespace :yard do
yard_files = [ yard_files = [
# Ruby source files first # Ruby source files first
'lib/**/*.rb', 'lib/msf/**/*.rb',
'lib/rex/**/*.rb',
# Anything after '-' is a normal documentation, not source # Anything after '-' is a normal documentation, not source
'-', '-',
'COPYING', 'COPYING',
@ -13,8 +14,6 @@ namespace :yard do
'THIRD-PARTY.md' 'THIRD-PARTY.md'
] ]
yard_options = [ yard_options = [
# don't generate documentation from the source of the gems in the gemcache.
'--exclude', 'lib/gemcache',
# include documentation for protected methods for developers extending the code. # include documentation for protected methods for developers extending the code.
'--protected' '--protected'
] ]