mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 18:23:55 +00:00
13 lines
267 B
Bash
Executable File
13 lines
267 B
Bash
Executable File
#!/bin/bash
|
|
# Test Documentation boxes -
|
|
# !!! <TYPE>: is not allowed!
|
|
# !!! <TYPE> "title" - Title needs to be quoted!
|
|
grep -Er '^!{3}\s\S+:|^!{3}\s\S+\s[^"]' docs/*
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "Docs test success."
|
|
exit 0
|
|
fi
|
|
echo "Docs test failed."
|
|
exit 1
|