aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen/lv2specgen.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-20 21:51:22 +0000
committerDavid Robillard <d@drobilla.net>2011-10-20 21:51:22 +0000
commit401ab3ab8144e266cfc1c2d538e5ceb4a3f59102 (patch)
tree65cbb56fcaed5f2e5549ebb2d2b45ac3720e38d3 /lv2specgen/lv2specgen.py
parent9b4d2917ce2e61ea3854670e80730dfed42c1e88 (diff)
downloadlv2-401ab3ab8144e266cfc1c2d538e5ceb4a3f59102.tar.xz
Cleaner and terser documentation style.
Diffstat (limited to 'lv2specgen/lv2specgen.py')
-rwxr-xr-xlv2specgen/lv2specgen.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 3b2ede3..5ec647a 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -908,13 +908,14 @@ def specgen(specloc, docdir, template, doclinks, instances=False, mode="spec"):
release_name = "lv2-" + basename
if basename == "lv2":
release_name = "lv2core"
- other_files += '<li><a href="http://lv2plug.in/spec/%s-%d.%d.tar.bz2">Release</a> (<a href="http://lv2plug.in/spec">all releases</a>)</li>\n' % (release_name, version[0], version[1])
+ 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>'
if os.path.exists(os.path.abspath(header_path)):
- other_files += '<li><a href="' + docdir + '/html/%s">Header Documentation</a></li>\n' % (
+ other_files += ', <a href="' + docdir + '/html/%s">API documentation</a>' % (
basename + '_8h.html')
header = basename + '.h'
- other_files += '<li><a href="%s">%s</a></li>' % (header, header)
+ other_files += ', <a href="%s">%s</a>' % (header, header)
#other_files += '<li><a href="%s">Ontology</a> %s</li>\n' % (filename, filename)
@@ -924,7 +925,9 @@ def specgen(specloc, docdir, template, doclinks, instances=False, mode="spec"):
if uri[0:5] == 'file:':
uri = uri[5:]
- other_files += '<li><a href="%s">%s</a></li>' % (uri, uri)
+ other_files += ', <a href="%s">%s</a>' % (uri, uri)
+
+ other_files = '<tr><th class="metahead">See Also</th><td>%s</td></tr>' % other_files
template = template.replace('@FILES@', other_files)