We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5471e87 commit de8927eCopy full SHA for de8927e
paddle/scripts/travis/docs.sh
@@ -9,12 +9,9 @@ make paddle_docs paddle_docs_cn
9
10
# check websites for broken links
11
set +e
12
-linkchecker doc/cn/html/index.html > doc_cn.out
13
-linkchecker doc/en/html/index.html > doc_en.out
14
-for i in doc_cn.out doc_en.out; do
15
- grep " 0 errors found" $i
+for i in cn en; do
+ linkchecker doc/$i/html/index.html
16
if [ $? -ne 0 ]; then
17
- cat $i
18
exit 1
19
fi
20
done
0 commit comments