sphinx-apidoc works from any directory

This commit is contained in:
boyska 2016-08-24 11:43:15 +02:00
parent 7769136f3d
commit bb48f47a51
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9

View file

@ -289,7 +289,9 @@ def run_apidoc(_):
'--force',
'-o', output_path,
module
] + exclude_files)
] + exclude_files,
cwd=proj_dir
)
except subprocess.CalledProcessError:
print(red("APIdoc failed for module {}".format(module)))