未验证 提交 3591a252 编写于 作者: S Sing_chan 提交者: GitHub

cant just exit, because the new api has no doc in develop;test=document_fix (#43083)

上级 cd3d0911
......@@ -342,7 +342,7 @@ Please use '.. code-block:: python' to format the sample code.""")
logger.error(
"Error: No sample code found! Please check if the API comment contais string 'Examples:' correctly"
)
exit(1)
return []
sample_code_filenames = []
for y, cb in enumerate(codeblocks):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册