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
yard_files = [
# Ruby source files first
'lib/**/*.rb',
'lib/msf/**/*.rb',
'lib/rex/**/*.rb',
# Anything after '-' is a normal documentation, not source
'-',
'COPYING',
@ -13,8 +14,6 @@ namespace :yard do
'THIRD-PARTY.md'
]
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.
'--protected'
]