diff options
author | David Robillard <d@drobilla.net> | 2020-03-20 23:27:29 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-28 17:10:05 +0100 |
commit | 591b79225b52a29a13e23cb33dd4dd0f5b31d95c (patch) | |
tree | a933d763c869bb240d4c4218b2e09c11b6ab9d68 /lv2specgen | |
parent | 94d35108330642a095a868262389d8b2b47e3a3d (diff) | |
download | lv2-591b79225b52a29a13e23cb33dd4dd0f5b31d95c.tar.xz |
lv2specgen: Show rdfs:seeAlso links nicely
Diffstat (limited to 'lv2specgen')
-rwxr-xr-x | lv2specgen/lv2specgen.py | 2 |
1 files changed, 2 insertions, 0 deletions
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) |