Skip to content

Fix CI PR_CI_Document_Preview Job #17514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions tools/document_preview.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down