sphinx-apidoc works from any directory
This commit is contained in:
parent
7769136f3d
commit
bb48f47a51
1 changed files with 3 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue