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 --- lv2/core/lv2.h | 2 +- lv2specgen/lv2specgen.py | 6 ++++-- 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 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 = '%s' % ( b, target, name) # API row += '%s' % ( - b, b) + stem, name) # Description if shortdesc: -- cgit v1.2.1