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:
parent
7af3d57606
commit
d978900182
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue