1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-08-28 23:26:18 +02:00

Remove 3rd-party libraries from yard files

[#36737359]

Only include ruby source files under lib/msf or lib/rex.
This commit is contained in:
Luke Imhoff 2012-10-02 13:07:31 -05:00
parent 555a9f2559
commit 696b66578e

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'
]