Skip to content

Commit

Permalink
Fix missing fonts in sphinx image
Browse files Browse the repository at this point in the history
  • Loading branch information
cyderize committed Oct 23, 2023
1 parent 4ca747c commit 13a0ec0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.sphinx
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ RUN apt-get update && \
texlive-xetex \
tzdata \
xindy && \
pip3 install six sphinx_rtd_theme
pip3 install six sphinx_rtd_theme && \
echo "<?xml version='1.0'?><!DOCTYPE fontconfig SYSTEM 'fonts.dtd'><fontconfig><dir>/usr/share/texlive/texmf-dist/fonts/opentype</dir></fontconfig>" > /etc/fonts/conf.d/09-texlive-fonts-extra.conf && \
fc-cache

0 comments on commit 13a0ec0

Please sign in to comment.