aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgendoc.py3
-rwxr-xr-xlv2specgen/lv2specgen.py5
2 files changed, 5 insertions, 3 deletions
diff --git a/gendoc.py b/gendoc.py
index a3491fe..00a7cae 100755
--- a/gendoc.py
+++ b/gendoc.py
@@ -108,7 +108,7 @@ SELECT ?rev FROM <%s.lv2/%s.ttl> WHERE { <%s> doap:release [ doap:revision ?rev
rev = '0'
if rev != '0':
- path = os.path.join(release_dir, 'lv2-%s-%s.tar.gz' % (b, rev))
+ path = os.path.join(release_dir, 'lv2-%s-%s.0.tar.gz' % (b, rev))
subprocess.call(['tar', '-czf', path, os.path.join(outdir, '%s.lv2' % b)])
specgendir = '../../../../lv2specgen/'
@@ -140,7 +140,6 @@ SELECT ?rev FROM <%s.lv2/%s.ttl> WHERE { <%s> doap:release [ doap:revision ?rev
index_html += i + '\n'
index_html += '</ul>\n'
- index_html += '<div class="content"><a href="./releases">Releases</a></div>\n'
index_html += '<div class="footer">'
index_html += '<span class="footer-text">Generated on '
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 527c11d..884ede1 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -716,7 +716,10 @@ def specgen(specloc, docdir, template, instances=False, mode="spec"):
other_files = '<li><a href=".">Online Bundle</a></li>\n'
if revision and revision[0] != '0':
- other_files += '<li><a href="http://lv2plug.in/spec/lv2-%s-%s.tar.gz">Release</a> (<a href="http://lv2plug.in/spec">all releases</a>)</li>\n' % (basename, revision[0])
+ release_name = "lv2-" + basename
+ if basename == "lv2":
+ release_name = "lv2core"
+ other_files += '<li><a href="http://lv2plug.in/spec/%s-%s.0.tar.gz">Release</a> (<a href="http://lv2plug.in/spec">all releases</a>)</li>\n' % (release_name, revision[0])
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')