mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-12 19:10:27 +03:00
Manual-Generation (*.md -> pdf) via Gimli
This commit is contained in:
parent
efdadcf48a
commit
67728b1581
5 changed files with 11 additions and 6 deletions
|
@ -1,11 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
filename=Manual
|
||||||
if which gimli >/dev/null; then
|
if which gimli >/dev/null; then
|
||||||
find docs -name "*.md" -exec cat {} > documentation.md \;
|
echo "Building ${filename}.pdf"
|
||||||
gimli -f documentation.md
|
find docs -name "*.md" -exec cat {} > ${filename}.md \;
|
||||||
mv documentation.pdf docs
|
mv ${filename}.md docs
|
||||||
rm documentation.md
|
pushd . >/dev/null
|
||||||
|
cd docs
|
||||||
|
rm -f ${filename}.pdf
|
||||||
|
gimli -f ${filename}.md
|
||||||
|
rm ${filename}.md
|
||||||
|
popd >/dev/null
|
||||||
else
|
else
|
||||||
echo -e "\nFAILED"
|
echo -e "\nFAILED"
|
||||||
echo "Install Gimli to build the PDF documentation"
|
echo "Install Gimli to build the PDF documentation"
|
||||||
|
|
2
docs/Display.md
Normal file → Executable file
2
docs/Display.md
Normal file → Executable file
|
@ -60,7 +60,7 @@ or other display corruption.
|
||||||
|
|
||||||
More can be read about this procedure here: http://www.multiwii.com/forum/viewtopic.php?f=6&t=2705&start=10
|
More can be read about this procedure here: http://www.multiwii.com/forum/viewtopic.php?f=6&t=2705&start=10
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
## Connections
|
## Connections
|
||||||
|
|
BIN
docs/Manual.pdf
Normal file
BIN
docs/Manual.pdf
Normal file
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 133 KiB |
BIN
docs/Wiring/Crius CO-16 OLED modifications.jpg
Normal file → Executable file
BIN
docs/Wiring/Crius CO-16 OLED modifications.jpg
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 83 KiB |
Loading…
Add table
Add a link
Reference in a new issue