1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-12 19:10:27 +03:00

Add a simple TOC to the front of the PDF manual

This commit is contained in:
stuphi 2015-07-19 20:48:53 +01:00
parent 7af3d57606
commit d978900182

View file

@ -3,7 +3,7 @@
filename=Manual
doc_files=(
'Introduction.md'
'Getting Started.md'
'Getting Started.md'
'Safety.md'
'Installation.md'
'Configuration.md'
@ -48,7 +48,8 @@ if which gimli >/dev/null; then
cat "$i" >> ${filename}.md
done
rm -f ${filename}.pdf
gimli -f ${filename}.md -stylesheet override.css
gimli -f ${filename}.md -stylesheet override.css \
-w '--toc --title "Cleanflight Manual" --footer-right "[page]" --toc-depth 1'
rm ${filename}.md
popd >/dev/null
else