From 78c9cc7761f3c2382dc3f85576674c03048c0a63 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 22 Mar 2020 19:40:18 +0100 Subject: lv2specgen: Flatten page structure --- lv2specgen/lv2specgen.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'lv2specgen/lv2specgen.py') diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index b9f458c..88e1380 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -706,7 +706,7 @@ def docTerms(category, list, m, classlist, proplist, instalist): t = termName(m, term) curie = term.split(spec_ns_str[-1])[1] doc += '
' % (t, term) - doc += '

%s

' % (getAnchor(term), curie) + doc += '

%s

' % (getAnchor(term), curie) comment = getFullDocumentation(m, term, classlist, proplist, instalist) is_deprecated = isDeprecated(m, term) @@ -1311,11 +1311,19 @@ def specgen(specloc, indir, style_uri, docdir, tags, opts, instances=False, root termlist = '' if classlist: - termlist += '

Classes

' + classlist + termlist += '' + if proplist: - termlist += '

Properties

' + proplist + termlist += '' + if instlist: - termlist += '

Instances

' + instlist + termlist += '' name = specProperty(m, spec, doap.name) title = name -- cgit v1.2.1