Fix pdf build

openstackdocstheme 2.1.0 broke the pdf builds, adding a workaround
that fix the problem and also works with older openstackdocstheme.

Change-Id: Ifed01ea2a379672875d0a5d5e33096bda9bd36ed
This commit is contained in:
Iury Gregory Melo Ferreira 2020-05-14 13:43:25 +02:00
parent e70cbf8d23
commit 7d72c2e954
2 changed files with 8 additions and 0 deletions

View File

@ -1,2 +1,4 @@
libvirt-dev [platform:dpkg]
pkg-config [platform:dpkg]
# fonts-freefont-otf is needed for pdf docs builds with the 'xelatex' engine
fonts-freefont-otf [doc]

View File

@ -65,6 +65,12 @@ html_theme = 'openstackdocs'
# Output file base name for HTML help builder.
htmlhelp_basename = 'sushy-toolsdoc'
# The openstackdocstheme 2.1.0 extension stopped always overriding latex_engine
# to 'xelatex'. We need the 'xelatex' engine in order to handle some Unicode
# characters we use in our feature classification matrix, like the "X" mark, so
# we specify it here.
latex_engine = 'xelatex'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).