From 1d4b8899738346246f5770e2a1608111e9420c90 Mon Sep 17 00:00:00 2001 From: Chen Long <1300851984@qq.com> Date: Wed, 10 Jun 2020 17:20:01 +0800 Subject: [PATCH] add_index_dataset (#2192) * add_index_dataset * add TPM approval * remove Boyan-Liu * correct name_id order --- doc/fluid/api_cn/index_cn.rst | 2 ++ scripts/checkapproval.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/fluid/api_cn/index_cn.rst b/doc/fluid/api_cn/index_cn.rst index 4e7245c7e..993b12677 100644 --- a/doc/fluid/api_cn/index_cn.rst +++ b/doc/fluid/api_cn/index_cn.rst @@ -9,6 +9,8 @@ API Reference fluid_cn.rst backward_cn.rst clip_cn.rst + data/data_reader_cn.rst + data/dataset_cn.rst dataset_cn.rst dygraph_cn.rst executor_cn.rst diff --git a/scripts/checkapproval.sh b/scripts/checkapproval.sh index 3a96a4bdb..bd8ee8db3 100644 --- a/scripts/checkapproval.sh +++ b/scripts/checkapproval.sh @@ -6,12 +6,12 @@ for API_FILE in ${API_FILES[*]}; do if [ "${API_CHANGE}" ];then approval_line=`curl -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/PaddlePaddle/FluidDoc/pulls/${GIT_PR_ID}/reviews?per_page=10000` if [ "${API_FILE}" == "doc/fluid" ];then - APPROVALS=`echo ${approval_line}|python ./scripts/check_pr_approval.py 1 31623103 2870059 27208573` + APPROVALS=`echo ${approval_line}|python ./scripts/check_pr_approval.py 1 2870059 27208573 29231 28379894` fi fi if [ "${APPROVALS}" == "FALSE" ]; then if [ "${API_FILE}" == "doc/fluid" ];then - echo "You must have one TPM (saxon-zh or Boyan-Liu or swtkiwi) approval for the api change! ${API_FILE} for the management reason of API interface and API document." + echo "You must have one TPM (saxon-zh or swtkiwi or jzhang533 or Heeenrrry) approval for the api change! ${API_FILE} for the management reason of API interface and API document." fi exit 1 fi -- GitLab