aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-24 19:21:29 +0100
committerDavid Robillard <d@drobilla.net>2019-03-24 21:23:02 +0100
commit13f8bcea5df5586d07b167110daabdae8453931d (patch)
tree65ffaf87bd82d1b075139e12edf64d548b70c2e9 /lv2specgen
parent984b9db7539c1362ecbca55791ede3273bbe34c4 (diff)
downloadlv2-13f8bcea5df5586d07b167110daabdae8453931d.tar.xz
Avoid redundant copy of Doxygen stylesheet
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2specgen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index ba364fb..1363303 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1494,9 +1494,9 @@ if __name__ == "__main__":
# Root link
root_path = opts['root_path']
root_uri = opts['root_uri']
- root_link = os.path.relpath(root_path, path) if root_path else '.'
+ root_link = root_path
if not options.online_docs:
- root_link = os.path.join(root_link, 'index.html')
+ root_link = os.path.join(root_path, 'index.html')
# Generate spec documentation
specdoc = specgen(