1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-12 19:10:27 +03:00
inav/build_docs.sh
2014-09-26 19:05:41 +02:00

18 lines
324 B
Bash
Executable file

#!/bin/bash
if which gimli >/dev/null; then
find docs -name "*.md" -exec cat {} > documentation.md \;
gimli -f documentation.md
mv documentation.pdf docs
rm documentation.md
else
echo -e "\nFAILED"
echo "Install Gimli to build the PDF documentation"
echo -e "https://github.com/walle/gimli\n"
exit 1
fi