Skip to content

Commit

Permalink
Add a simple TOC to the front of the PDF manual
Browse files Browse the repository at this point in the history
  • Loading branch information
stuphi committed Jul 19, 2015
1 parent 7af3d57 commit d978900
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
filename=Manual
doc_files=(
'Introduction.md'
'Getting Started.md'
'Getting Started.md'
'Safety.md'
'Installation.md'
'Configuration.md'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d978900

Please sign in to comment.