Skip to content

Commit 7b80fad

Browse files
committed
Land rapid7#2780 - Convert gendocs.sh to use rake yard
2 parents ce8b8e8 + 7181114 commit 7b80fad

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

documentation/gendocs.sh

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1 @@
1-
OPTS="-x .ut.rb -x .ts.rb -x samples -q"
2-
BASE="$(dirname "$0")"
3-
MSFDIR="${BASE}/.."
4-
DOCDIR="${BASE}/api"
5-
doc=$(which sdoc)
6-
7-
if [ -z $doc ]; then
8-
doc=$(which rdoc)
9-
fi
10-
11-
echo "Using ${doc} for doc generation"
12-
echo "Putting docs in ${DOCDIR}"
13-
14-
$doc $OPTS -t "Metasploit Documentation" -o ${DOCDIR} ${MSFDIR}/lib/rex ${MSFDIR}/lib/msf
15-
1+
rake yard

0 commit comments

Comments
 (0)