Don't fail build if some apidoc does
This commit is contained in:
parent
838e7c9c86
commit
7769136f3d
1 changed files with 8 additions and 5 deletions
|
@ -284,11 +284,14 @@ def run_apidoc(_):
|
|||
print(red("No apidoc available!"), file=sys.stderr)
|
||||
return
|
||||
for module in modules:
|
||||
try:
|
||||
subprocess.check_call([cmd_path,
|
||||
'--force',
|
||||
'-o', output_path,
|
||||
module
|
||||
] + exclude_files)
|
||||
except subprocess.CalledProcessError:
|
||||
print(red("APIdoc failed for module {}".format(module)))
|
||||
|
||||
|
||||
def setup(app):
|
||||
|
|
Loading…
Reference in a new issue