From 665ff9f14edf8229de013b3e470d5e826238ddd0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 17 May 2025 15:36:32 +0200 Subject: [PATCH] test: extend test_docs for collapsed info boxes --- tests/test_docs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_docs.sh b/tests/test_docs.sh index 09e142b99..ad53ad83b 100755 --- a/tests/test_docs.sh +++ b/tests/test_docs.sh @@ -2,7 +2,8 @@ # Test Documentation boxes - # !!! : is not allowed! # !!! "title" - Title needs to be quoted! -grep -Er '^!{3}\s\S+:|^!{3}\s\S+\s[^"]' docs/* +# Same for ??? +grep -Er '^(!{3}|\?{3})\s\S+:|^(!{3}|\?{3})\s\S+\s[^"]' docs/* if [ $? -ne 0 ]; then echo "Docs test success."