From: Vladimír Vondruš Date: Sun, 11 Feb 2018 23:05:04 +0000 (+0100) Subject: doxygen: don't mark things containing \bug as deprecated. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=a63282b9f71fbd934f3893c1ae80cc449896fdb0;p=blog.git doxygen: don't mark things containing \bug as deprecated. Ugh am I stupid?! --- 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: