mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-12 19:10:27 +03:00
Added Gimli-Based docs/*.md -> PDF Generation
This commit is contained in:
parent
9ca1775871
commit
efdadcf48a
1 changed files with 18 additions and 0 deletions
18
build_docs.sh
Executable file
18
build_docs.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/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
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue