提交 39a54774 编写于 作者: L Luo Tao

refine docs.sh

上级 de8927eb
...@@ -8,14 +8,8 @@ cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_GPU=OFF -DWITH_DOC=ON ...@@ -8,14 +8,8 @@ cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_GPU=OFF -DWITH_DOC=ON
make paddle_docs paddle_docs_cn make paddle_docs paddle_docs_cn
# check websites for broken links # check websites for broken links
set +e linkchecker doc/en/html/index.html
for i in cn en; do linkchecker doc/cn/html/index.html
linkchecker doc/$i/html/index.html
if [ $? -ne 0 ]; then
exit 1
fi
done
set -e
# Parse Github URL # Parse Github URL
REPO=`git config remote.origin.url` REPO=`git config remote.origin.url`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册