From a63282b9f71fbd934f3893c1ae80cc449896fdb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 12 Feb 2018 00:05:04 +0100 Subject: [PATCH] doxygen: don't mark things containing \bug as deprecated. Ugh am I stupid?! --- doxygen/dox2html5.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 8de8f179..b341de72 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -881,9 +881,11 @@ def parse_desc_internal(state: State, element: ET.Element, immediate_parent: ET. id = i.attrib['id'] match = xref_id_rx.match(id) file = match.group(1) - if file.startswith(('deprecated', 'bug')): + if file.startswith('deprecated'): color = 'm-danger' out.is_deprecated = True + elif file.startswith('bug'): + color = 'm-danger' elif file.startswith('todo'): color = 'm-dim' else: -- 2.30.2