From 696b66578e6f05025517ab91ba749b9ea8bf68cd Mon Sep 17 00:00:00 2001 From: Luke Imhoff Date: Tue, 2 Oct 2012 13:07:31 -0500 Subject: [PATCH] Remove 3rd-party libraries from yard files [#36737359] Only include ruby source files under lib/msf or lib/rex. --- Rakefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index b01da54239..d21d5d6ddd 100644 --- a/Rakefile +++ b/Rakefile @@ -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' ]