Skip to content

Commit

Permalink
Tell readthedocs to use the latest stable python3
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdotn committed Oct 28, 2021
1 parent 4649191 commit 9dca0e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .readthedocs.yml
Expand Up @@ -9,6 +9,8 @@ python:

build:
os: ubuntu-20.04
tools:
python: "3"
apt_packages:
- inkscape

Expand Down
6 changes: 4 additions & 2 deletions doc/en/conf.py
Expand Up @@ -43,7 +43,8 @@
latex_engine = "lualatex"

latex_elements = {
'preamble': dedent("""
"preamble": dedent(
"""
\directlua{
luaotfload.add_fallback("fallbacks", {
"Noto Serif CJK SC:style=Regular;",
Expand All @@ -52,7 +53,8 @@
}
\setmainfont{FreeSerif}[RawFeature={fallback=fallbacks}]
""")
"""
)
}

# -- General configuration -----------------------------------------------------
Expand Down

0 comments on commit 9dca0e9

Please sign in to comment.