aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-09 22:01:09 +0000
committerDavid Robillard <d@drobilla.net>2011-03-09 22:01:09 +0000
commitf92afaf97723b756bc50ad09cd7227cc5ce5b6f0 (patch)
treee97afdeca24e2ad9c4b71a88a4ed8003077932e3 /lv2specgen
parent7c7e2d5a401fd6a14006c61961350d19be8cad81 (diff)
downloadlv2-f92afaf97723b756bc50ad09cd7227cc5ce5b6f0.tar.xz
Don't list ontology file in contents twice.
Fix release tarball links.
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2specgen.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 1ab6515..7c7c078 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -773,14 +773,15 @@ def specgen(specloc, docdir, template, instances=False, mode="spec"):
release_name = "lv2-" + basename
if basename == "lv2":
release_name = "lv2core"
- other_files += '<li><a href="http://lv2plug.in/spec/%s-%s.tar.gz">Release</a> (<a href="http://lv2plug.in/spec">all releases</a>)</li>\n' % (release_name, version[0])
+ other_files += '<li><a href="http://lv2plug.in/spec/%s-%d.%d.tar.gz">Release</a> (<a href="http://lv2plug.in/spec">all releases</a>)</li>\n' % (release_name, version[0], version[1])
if os.path.exists(os.path.abspath(header_path)):
other_files += '<li><a href="' + docdir + '/html/%s">Header Documentation</a></li>\n' % (
basename + '_8h.html')
- other_files += '<li><a href="%s">Header</a> %s</li>' % (basename + '.h', basename + '.h')
+ header = basename + '.h'
+ other_files += '<li><a href="%s">%s</a></li>' % (header, header)
- other_files += '<li><a href="%s">Ontology</a> %s</li>\n' % (filename, filename)
+ #other_files += '<li><a href="%s">Ontology</a> %s</li>\n' % (filename, filename)
see_also_files = specProperties(m, spec_url, rdfs.seeAlso)
for f in see_also_files: