test: extend test_docs for collapsed info boxes

This commit is contained in:
Matthias
2025-05-17 15:36:32 +02:00
parent 510c47bd78
commit 665ff9f14e

View File

@@ -2,7 +2,8 @@
# Test Documentation boxes -
# !!! <TYPE>: is not allowed!
# !!! <TYPE> "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."