Skip to content

Commit ff37a35

Browse files
authored
Merge pull request xapi-project#3130 from kc284/master
CP-22381: use png instead of pdf to avoid conversion from eps.
2 parents 59df794 + 8c08d84 commit ff37a35

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

ocaml/doc/doc-convert.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -x
3+
set -xeu
44

55
GRAPHVIZ_FLAGS="-Tpng"
66

@@ -11,10 +11,6 @@ if [ ! "$1" = "--pdf" ]; then
1111
exit 0
1212
fi
1313

14-
if [ -f logo.eps ]; then
15-
epstopdf logo.eps --outfile=logo.pdf
16-
fi
17-
1814
FILES="
1915
basics.md
2016
wire-protocol.md

ocaml/doc/templates/cover.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: |
3-
\IfFileExists{logo.pdf}{\includegraphics[width=150px]{logo.pdf}\break}{}
3+
\IfFileExists{logo.png}{\includegraphics[width=150px]{logo.png}\break}{}
44
Citrix XenServer Management API\break
55
Version {{api_version_major}}.{{api_version_minor}}
66
date: |

0 commit comments

Comments
 (0)