Update extension.py to handle absolute paths

pull/54/head
Daniel Roth 9 years ago
parent 264cfcbf45
commit ca3a002aa6

@ -29,7 +29,7 @@ def run_autoapi(app):
normalized_dirs = []
for path in app.config.autoapi_dirs:
if os.path.isabs(path):
normalized_dirs.append(app.config.autoapi_dir)
normalized_dirs.append(path)
else:
normalized_dirs.append(
os.path.normpath(os.path.join(app.confdir, path))

Loading…
Cancel
Save