diff options
author | David Robillard <d@drobilla.net> | 2020-03-22 19:35:22 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-28 17:10:05 +0100 |
commit | 5fbf0fd403f206269bdb146985f2d85d2492f2d5 (patch) | |
tree | 162d4ae4db98e24f0921bd5eb05a1be97a75f5e2 | |
parent | f99eb16350e996e06914415e0546b85d110a3ef8 (diff) | |
download | lv2-5fbf0fd403f206269bdb146985f2d85d2492f2d5.tar.xz |
lv2specgen: Don't show label in page description body
-rwxr-xr-x | lv2specgen/lv2specgen.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 6e9ba70..509f8ff 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -695,7 +695,6 @@ def docTerms(category, list, m, classlist, proplist, instalist): doc += '<div class="specterm" id="%s" about="%s">' % (t, term) doc += '<h4><a href="#%s">%s</a></h4>' % (getAnchor(term), curie) - label = getLabel(m, term) comment = getFullDocumentation(m, term, classlist, proplist, instalist) is_deprecated = isDeprecated(m, term) @@ -717,11 +716,7 @@ def docTerms(category, list, m, classlist, proplist, instalist): if (len(terminfo) > 0): # to prevent empty list (bug #882) doc += '\n<table class="terminfo">%s</table>\n' % terminfo - if label != '' or comment != '' or is_deprecated: - doc += '<div class="description">' - - if label != '': - doc += "<div property=\"rdfs:label\" class=\"label\">%s</div>" % label + doc += '<div class="description">' if is_deprecated: doc += '<div class="warning">Deprecated</div>' @@ -731,8 +726,7 @@ def docTerms(category, list, m, classlist, proplist, instalist): doc += extrainfo - if label != '' or comment != '' or is_deprecated: - doc += "</div>" + doc += "</div>" doc += '</div>' doc += "\n</div>\n\n" |