chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a80fc0
)
doxygen: don't mark things containing \bug as deprecated.
author
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 11 Feb 2018 23:05:04 +0000
(
00:05
+0100)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 11 Feb 2018 23:05:04 +0000
(
00:05
+0100)
Ugh am I stupid?!
doxygen/dox2html5.py
patch
|
blob
|
history
diff --git
a/doxygen/dox2html5.py
b/doxygen/dox2html5.py
index 8de8f1798284692c53cda161be94051ffc4d8eea..b341de7246edc0396f833fa8ca5c2128b7dfdf1d 100755
(executable)
--- 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: