From a44d7419a5f575bfe40b42daeb97f73331ffdbd5 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Thu, 29 Aug 2024 11:21:47 +1000 Subject: [PATCH] No dl --- scripts/sipify.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/sipify.py b/scripts/sipify.py index f3d9b8b1b34..ba886644a95 100755 --- a/scripts/sipify.py +++ b/scripts/sipify.py @@ -712,6 +712,11 @@ def process_doxygen_line(line: str) -> str: if CONTEXT.doxy_inside_sip_run == 2: return "" + if re.search(r'<(?:dl|dt|dd>)', line): + exit_with_error( + "Don't use raw html
,
or
tags in documentation. " + "Use markdown headings instead") + # Detect code snippet code_match = re.search(r'\\code(\{\.?(\w+)})?', line) if code_match: