Skip to content

Commit cd716d5

Browse files
committed
先禁掉检查中文文档
1 parent 21b5dec commit cd716d5

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

ci_scripts/check_api_cn.sh

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,26 @@ else
5555
exit 5
5656
fi
5757

58-
if [ "${need_check_files}" != "" ]; then
59-
for file in $need_check_files;do
60-
python chinese_samplecode_processor.py ../$file
61-
if [ $? -ne 0 ];then
62-
echo "chinese sample code failed, the file is ${file}"
63-
exit 5
64-
fi
65-
done
66-
fi
58+
#if [ "${need_check_files}" != "" ]; then
59+
# for file in $need_check_files;do
60+
# python chinese_samplecode_processor.py ../$file
61+
# if [ $? -ne 0 ];then
62+
# echo "chinese sample code failed, the file is ${file}"
63+
# exit 5
64+
# fi
65+
# done
66+
#fi
6767

68-
if [ "${need_check_cn_doc_files}" != "" ];then
69-
cd ../doc/paddle/api
70-
python gen_doc.py
71-
cd -
68+
#if [ "${need_check_cn_doc_files}" != "" ];then
69+
# cd ../doc/paddle/api
70+
# python gen_doc.py
71+
# cd -
7272

73-
for file in $need_check_cn_doc_files; do
74-
cat ../doc/paddle/api/en_cn_files_diff | awk '{print $1}' | grep ${file}
75-
if [ $? -eq 0 ];then
76-
echo "Chinese doc file exist, but the Englist doc does not exist, the Chinese file is ${file}"
77-
fi
78-
done
79-
fi
73+
# for file in $need_check_cn_doc_files; do
74+
# cat ../doc/paddle/api/en_cn_files_diff | awk '{print $1}' | grep ${file}
75+
# if [ $? -eq 0 ];then
76+
# echo "Chinese doc file exist, but the Englist doc does not exist, the Chinese file is ${file}"
77+
# fi
78+
# done
79+
#fi
8080
fi

0 commit comments

Comments
 (0)