From e6b5a3f092a4122aad9210baaa06b9c432e9a194 Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Wed, 22 May 2019 23:01:50 +0800 Subject: [PATCH] Fix PR_CI_Document_Preview Job (#17514) * test=develop * test=develop --- tools/document_preview.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/document_preview.sh b/tools/document_preview.sh index d0e9b3178a6..17d9a1d10a3 100755 --- a/tools/document_preview.sh +++ b/tools/document_preview.sh @@ -1,10 +1,12 @@ #!/bin/bash -PADDLE_ROOT=/paddle +PADDLE_ROOT=/home +mkdir ${PADDLE_ROOT} cd ${PADDLE_ROOT} +pip install /paddle/build/opt/paddle/share/wheels/*.whl git clone https://github.com/PaddlePaddle/FluidDoc git clone https://github.com/tianshuo78520a/PaddlePaddle.org.git -sh ${PADDLE_ROOT}/FluidDoc/doc/fluid/api/gen_doc.sh -pip install ${PADDLE_ROOT}/build/opt/paddle/share/wheels/*.whl +cd ${PADDLE_ROOT}/FluidDoc/doc/fluid/api +sh gen_doc.sh apt-get update && apt-get install -y python-dev build-essential cd ${PADDLE_ROOT}/PaddlePaddle.org/portal pip install -r requirements.txt -- GitLab