diff --git a/paddle/scripts/tools/build_docs/build_docs.sh b/paddle/scripts/tools/build_docs/build_docs.sh index 99b927b865c8c3de41137a56285f01f4590ec413..00123dcb87d6147d8ccea645c4fd605239760388 100755 --- a/paddle/scripts/tools/build_docs/build_docs.sh +++ b/paddle/scripts/tools/build_docs/build_docs.sh @@ -22,9 +22,9 @@ case "$1" in pushd $PADDLE_SOURCE_DIR/build_doc cmake .. -DWITH_DOC=ON make paddle_docs paddle_docs_cn + popd cp -r $PADDLE_SOURCE_DIR/build_doc/doc/en/html/* doc cp -r $PADDLE_SOURCE_DIR/build_doc/doc/cn/html/* doc_cn - popd rm -rf $PADDLE_SOURCE_DIR/build_doc ;; "--help")