From 5fbf0fd403f206269bdb146985f2d85d2492f2d5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 22 Mar 2020 19:35:22 +0100 Subject: lv2specgen: Don't show label in page description body --- lv2specgen/lv2specgen.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'lv2specgen') 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 += '
' % (t, term) doc += '

%s

' % (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%s
\n' % terminfo - if label != '' or comment != '' or is_deprecated: - doc += '
' - - if label != '': - doc += "
%s
" % label + doc += '
' if is_deprecated: doc += '
Deprecated
' @@ -731,8 +726,7 @@ def docTerms(category, list, m, classlist, proplist, instalist): doc += extrainfo - if label != '' or comment != '' or is_deprecated: - doc += "
" + doc += "
" doc += '
' doc += "\n\n\n" -- cgit v1.2.1