diff options
author | David Robillard <d@drobilla.net> | 2020-03-22 19:40:29 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-28 17:10:05 +0100 |
commit | 6f93d0cc5db73f2cae77c1be6c165a22eea88149 (patch) | |
tree | e72c42b62a946974c57e671fb01f33deba3a9029 | |
parent | 78c9cc7761f3c2382dc3f85576674c03048c0a63 (diff) | |
download | lv2-6f93d0cc5db73f2cae77c1be6c165a22eea88149.tar.xz |
lv2specgen: Add type label to resource documentation headers
-rwxr-xr-x | lv2specgen/lv2specgen.py | 1 |
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) |