From 591b79225b52a29a13e23cb33dd4dd0f5b31d95c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 20 Mar 2020 23:27:29 +0100 Subject: lv2specgen: Show rdfs:seeAlso links nicely --- lv2specgen/lv2specgen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 98238bb..361b524 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -151,6 +151,8 @@ def niceName(uri): global spec_bundle if uri.startswith(spec_ns_str): return uri[len(spec_ns_str):] + elif uri == str(rdfs.seeAlso): + return "See also" regexp = re.compile("^(.*[/#])([^/#]+)$") rez = regexp.search(uri) -- cgit v1.2.1