Remove 3rd-party libraries from yard files
[#36737359] Only include ruby source files under lib/msf or lib/rex.unstable
parent
555a9f2559
commit
696b66578e
5
Rakefile
5
Rakefile
|
@ -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'
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue