aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sphinx-pre-install
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-14 07:16:18 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-17 06:57:51 -0300
commite0de2b59e243c88296fc983e32dd6484365e87a7 (patch)
tree44d820b26de6326c6861ccbb7b8e898eb83ea6b1 /scripts/sphinx-pre-install
parentdocs: conf.py: add CJK package needed by translations (diff)
downloadlinux-dev-e0de2b59e243c88296fc983e32dd6484365e87a7.tar.xz
linux-dev-e0de2b59e243c88296fc983e32dd6484365e87a7.zip
docs: conf.py: only use CJK if the font is available
If we try to build a book with asian characters with XeLaTeX and the font is not available, it will produce an error. So, instead, add a logic at conf.py to detect if the proper font is installed. This will avoid an error while building the document, although the result may not be readable. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'scripts/sphinx-pre-install')
0 files changed, 0 insertions, 0 deletions