diff options
Diffstat (limited to 'doc/manpages.sh')
-rwxr-xr-x | doc/manpages.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/manpages.sh b/doc/manpages.sh index 5c83a37..0e01513 100755 --- a/doc/manpages.sh +++ b/doc/manpages.sh @@ -42,7 +42,15 @@ for f in "$@"; do assert_arg "${OUTDIR:-}" '-o OUTDIR' to_name="$(basename "${f%.$l.$n}.$n.html")" mkdir -p "$OUTDIR/$l" - pandoc -s -r man -w html --metadata "lang=$l" \ + pandoc \ + --toc \ + --toc-depth=2 \ + -s \ + -r man \ + -w html \ + -H aux/workflow/favicon.html \ + -H aux/workflow/style.css \ + --metadata "lang=$l" \ < "$f" > "$OUTDIR/$l/$to_name" ;; install) |