| 1 | #!/bin/bash |
| 2 | # Test Documentation boxes - |
| 3 | # !!! <TYPE>: is not allowed! |
| 4 | # !!! <TYPE> "title" - Title needs to be quoted! |
| 5 | grep -Er '^!{3}\s\S+:|^!{3}\s\S+\s[^"]' docs/* |
| 6 | |
| 7 | if [ $? -ne 0 ]; then |
| 8 | echo "Docs test success." |
| 9 | exit 0 |
| 10 | fi |
| 11 | echo "Docs test failed." |
| 12 | exit 1 |