aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-24 17:54:48 +0100
committerDavid Robillard <d@drobilla.net>2019-03-24 21:23:02 +0100
commitd7c652ebab7ef5fa91d89f4b511bd4c8120d5fd7 (patch)
tree6cb2c09c541baaa836b2a3a4ca9d53cb2a15da2f
parent4425f09db6a4cad5aaf949f16e89181c45992b15 (diff)
downloadlv2-d7c652ebab7ef5fa91d89f4b511bd4c8120d5fd7.tar.xz
Fix broken links to API documentation
-rw-r--r--lv2/core/lv2.h2
-rwxr-xr-xlv2specgen/lv2specgen.py6
2 files changed, 5 insertions, 3 deletions
diff --git a/lv2/core/lv2.h b/lv2/core/lv2.h
index 3bfdd02..eaca514 100644
--- a/lv2/core/lv2.h
+++ b/lv2/core/lv2.h
@@ -19,7 +19,7 @@
*/
/**
- @defgroup core LV2 Core
+ @defgroup lv2core LV2 Core
Core LV2 specification, see <http://lv2plug.in/ns/lv2core> for details.
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: