From 718111429b70c5766639d99f11e6efe3bad4d7a9 Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Wed, 18 Dec 2013 15:53:09 -0600 Subject: [PATCH] Convert gendocs.sh to use rake yard --- documentation/gendocs.sh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/documentation/gendocs.sh b/documentation/gendocs.sh index 7936554f11..ec48ae53e7 100755 --- a/documentation/gendocs.sh +++ b/documentation/gendocs.sh @@ -1,15 +1 @@ -OPTS="-x .ut.rb -x .ts.rb -x samples -q" -BASE="$(dirname "$0")" -MSFDIR="${BASE}/.." -DOCDIR="${BASE}/api" -doc=$(which sdoc) - -if [ -z $doc ]; then - doc=$(which rdoc) -fi - -echo "Using ${doc} for doc generation" -echo "Putting docs in ${DOCDIR}" - -$doc $OPTS -t "Metasploit Documentation" -o ${DOCDIR} ${MSFDIR}/lib/rex ${MSFDIR}/lib/msf - +rake yard