diff --git a/ocaml/doc/doc-convert.sh b/ocaml/doc/doc-convert.sh index 15325f430d5..86034738b32 100644 --- a/ocaml/doc/doc-convert.sh +++ b/ocaml/doc/doc-convert.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -x +set -xeu GRAPHVIZ_FLAGS="-Tpng" @@ -11,10 +11,6 @@ if [ ! "$1" = "--pdf" ]; then exit 0 fi -if [ -f logo.eps ]; then - epstopdf logo.eps --outfile=logo.pdf -fi - FILES=" basics.md wire-protocol.md diff --git a/ocaml/doc/templates/cover.mustache b/ocaml/doc/templates/cover.mustache index c5b9663ccf5..5ca00114580 100644 --- a/ocaml/doc/templates/cover.mustache +++ b/ocaml/doc/templates/cover.mustache @@ -1,6 +1,6 @@ --- title: | - \IfFileExists{logo.pdf}{\includegraphics[width=150px]{logo.pdf}\break}{} + \IfFileExists{logo.png}{\includegraphics[width=150px]{logo.png}\break}{} Citrix XenServer Management API\break Version {{api_version_major}}.{{api_version_minor}} date: |