From 6a6efaf56bf34964b3fb10cd72a6c8410325c5a1 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 25 Oct 2016 10:20:29 +0200 Subject: [PATCH] Build the docs twice to get testing module docs. --- scripts/mk-docs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/mk-docs.sh b/scripts/mk-docs.sh index c3b42ada..e7926995 100755 --- a/scripts/mk-docs.sh +++ b/scripts/mk-docs.sh @@ -11,9 +11,11 @@ source $SCRIPT_DIR/config.sh function mk_doc() { local dir=$1 + local flag=$2 pushd $dir > /dev/null echo ":: Documenting '${dir}'..." cargo doc --no-deps --all-features + cargo doc --no-deps $flag popd > /dev/null } @@ -22,4 +24,4 @@ cargo clean mk_doc $LIB_DIR mk_doc $CODEGEN_DIR -mk_doc $CONTRIB_DIR +mk_doc $CONTRIB_DIR --all-features