From 21b3b793d2cae0cb1433cb7cc7a80781633a06e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 7 Nov 2020 18:28:22 +0100 Subject: [PATCH] documentation/doxygen: add a human-readable assert here. --- documentation/doxygen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/documentation/doxygen.py b/documentation/doxygen.py index 2276e412..d8b2df22 100755 --- 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 -- 2.30.2