chiark / gitweb /
doxygen: properly bubble up search keywords from lists as well.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 26 Nov 2018 11:49:13 +0000 (12:49 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 26 Nov 2018 12:30:15 +0000 (13:30 +0100)
doxygen/dox2html5.py

index a6f35ec3d8e63af5d78afbc595e27dac25fadfba..08dfc77399a20a3c53746feefc14f89d59779561 100755 (executable)
@@ -857,6 +857,10 @@ def parse_desc_internal(state: State, element: ET.Element, immediate_parent: ET.
                 # descriptions, bubble them up. THIS IS FUCKEN UNBELIEVABLE.
                 merge_parsed_subsections(parsed)
 
+                # Bubble up keywords as well
+                if parsed.search_keywords:
+                    out.search_keywords += parsed.search_keywords
+
             out.parsed += '</{}>'.format(tag)
 
         elif i.tag == 'table':