diff --git a/tools/document_preview.sh b/tools/document_preview.sh index 17d9a1d10a3ba102558da81a2ba04ce70dd53bad..10f486f8fd4f633ce5c49cd878540aaef6a7d3ad 100755 --- a/tools/document_preview.sh +++ b/tools/document_preview.sh @@ -5,6 +5,8 @@ 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 +cd ${PADDLE_ROOT}/PaddlePaddle.org +git reset 3feaa68376d8423e41d076814e901e6bf108c705 cd ${PADDLE_ROOT}/FluidDoc/doc/fluid/api sh gen_doc.sh apt-get update && apt-get install -y python-dev build-essential