chore(docs) fix latex build

This commit is contained in:
Themba Dube
2021-05-07 12:31:39 -04:00
parent e44c19946c
commit 5a5d469e23
3 changed files with 5 additions and 4 deletions

View File

@@ -60,9 +60,7 @@ cmd("cd ../scripts && doxygen Doxyfile")
cmd("sphinx-build -b latex . out_latex")
# Generate PDF
cmd("cd out_latex && makeindex LVGL.idx")
cmd("cd out_latex && makeindex -s python.ist -o LVGL.ind LVGL.idx")
cmd("cd out_latex && xelatex -interaction=batchmode *.tex")
cmd("cd out_latex && latexmk -pdf 'LVGL.tex'")
# Copy the result PDF to the main directory to make it avaiable for the HTML build
cmd("cd out_latex && cp -f LVGL.pdf ../LVGL.pdf")