aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-22 01:30:35 +0000
committerDavid Robillard <d@drobilla.net>2011-11-22 01:30:35 +0000
commit5ff1d0ff0ee8bc52dacc6f0ef0f25c36fb6f1e47 (patch)
tree583f71941716eea33a9867530b7e835282563b70 /lv2specgen
parentece195616828b98c77b582c00b84b31f1fa027d6 (diff)
downloadlv2-5ff1d0ff0ee8bc52dacc6f0ef0f25c36fb6f1e47.tar.xz
Fix broken links.
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2specgen.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 76b272c..5740168 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1028,6 +1028,8 @@ def specgen(specloc, indir, docdir, style_uri, doc_base, doclinks, instances=Fal
prefixes_html = "<span>"
for i in keys:
uri = namespaces[i]
+ if uri.startswith('file:'):
+ continue;
ns_list[str(uri)] = i
if str(uri) == str(spec_url) + '#':
spec_pre = i
@@ -1101,7 +1103,7 @@ def specgen(specloc, indir, docdir, style_uri, doc_base, doclinks, instances=Fal
other_files = ''
if not experimental:
release_name = "lv2-" + basename
- if basename == "lv2":
+ if basename == "lv2core":
release_name = "lv2core"
other_files += '<a href="http://lv2plug.in/spec/%s-%d.%d.tar.bz2">Release</a>, ' % (release_name, version[0], version[1])
other_files += '<a href="http://lv2plug.in/spec">All releases</a>, '