From d7c652ebab7ef5fa91d89f4b511bd4c8120d5fd7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Mar 2019 17:54:48 +0100 Subject: Fix broken links to API documentation --- lv2specgen/lv2specgen.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lv2specgen') 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 = '%s' % ( b, target, name) # API row += '%s' % ( - b, b) + stem, name) # Description if shortdesc: -- cgit v1.2.1