aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-22 19:40:29 +0100
committerDavid Robillard <d@drobilla.net>2020-03-28 17:10:05 +0100
commit6f93d0cc5db73f2cae77c1be6c165a22eea88149 (patch)
treee72c42b62a946974c57e671fb01f33deba3a9029 /lv2specgen
parent78c9cc7761f3c2382dc3f85576674c03048c0a63 (diff)
downloadlv2-6f93d0cc5db73f2cae77c1be6c165a22eea88149.tar.xz
lv2specgen: Add type label to resource documentation headers
Diffstat (limited to 'lv2specgen')
-rwxr-xr-xlv2specgen/lv2specgen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 88e1380..48c63f7 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -707,6 +707,7 @@ def docTerms(category, list, m, classlist, proplist, instalist):
curie = term.split(spec_ns_str[-1])[1]
doc += '<div class="specterm" id="%s" about="%s">' % (t, term)
doc += '<h3><a href="#%s">%s</a></h3>' % (getAnchor(term), curie)
+ doc += '<span class="spectermtype">%s</span>' % category
comment = getFullDocumentation(m, term, classlist, proplist, instalist)
is_deprecated = isDeprecated(m, term)