mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
test: extend test_docs for collapsed info boxes
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user