aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen/lv2specgen.py
diff options
context:
space:
mode:
Diffstat (limited to 'lv2specgen/lv2specgen.py')
-rwxr-xr-xlv2specgen/lv2specgen.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 0c6adb1..a6f30db 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1160,15 +1160,17 @@ def writeIndex(model, specloc, index_path, root_path, root_uri):
else:
target = os.path.relpath(ext_node, root_path)
+ stem = os.path.splitext(os.path.basename(target))[0]
+
# Specification (comment is to act as a sort key)
if not options.online_docs:
- target += '/' + os.path.basename(target) + '.html'
+ target += '/' + stem + '.html'
row = '<tr><!-- %s --><td><a rel="rdfs:seeAlso" href="%s">%s</a></td>' % (
b, target, name)
# API
row += '<td><a rel="rdfs:seeAlso" href="../doc/html/group__%s.html">%s</a></td>' % (
- b, b)
+ stem, name)
# Description
if shortdesc: