Merge pull request #54 from danroth27/patch-1

Update extension.py to handle absolute paths
pull/70/head
Anthony 9 years ago
commit 26924f93e3

@ -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