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:
74d8a3b
)
documentation/doxygen: add a human-readable assert here.
author
Vladimír Vondruš
<mosra@centrum.cz>
Sat, 7 Nov 2020 17:28:22 +0000
(18:28 +0100)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Sat, 7 Nov 2020 17:28:22 +0000
(18:28 +0100)
documentation/doxygen.py
patch
|
blob
|
history
diff --git
a/documentation/doxygen.py
b/documentation/doxygen.py
index 2276e4120cf94161776c5c1cc4d60ef24d5b93cf..d8b2df2284e834abe67e432da5e4350bfa624aca 100755
(executable)
--- a/
documentation/doxygen.py
+++ b/
documentation/doxygen.py
@@
-2334,6
+2334,7
@@
def postprocess_state(state: State):
# Resolve navbar links that are just an ID
def resolve_link(html, title, url, id):
if not html and not title and not url:
+ assert id in state.compounds, "Navbar references {} which wasn't found".format(id)
found = state.compounds[id]
title, url = found.name, found.url
return html, title, url, id