From 463c68e6f34dccd1175b4ff3fc708aa8ae1b2588 Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Tue, 8 Aug 2017 12:03:49 +0800 Subject: [PATCH] make paddle_proto and gen_proto_py before generating document --- paddle/scripts/travis/build_doc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/scripts/travis/build_doc.sh b/paddle/scripts/travis/build_doc.sh index 9785fa0c056..837adaab984 100755 --- a/paddle/scripts/travis/build_doc.sh +++ b/paddle/scripts/travis/build_doc.sh @@ -7,6 +7,8 @@ cd $TRAVIS_BUILD_DIR/build # Compile Documentation only. cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_GPU=OFF -DWITH_MKLDNN=OFF -DWITH_MKLML=OFF -DWITH_DOC=ON +make -j `nproc` paddle_proto +make -j `nproc` gen_proto_py make -j `nproc` paddle_docs paddle_docs_cn # check websites for broken links -- GitLab