Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9dca0e9

Browse files
committedOct 28, 2021
Tell readthedocs to use the latest stable python3
1 parent 4649191 commit 9dca0e9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎.readthedocs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ python:
99

1010
build:
1111
os: ubuntu-20.04
12+
tools:
13+
python: "3"
1214
apt_packages:
1315
- inkscape
1416

‎doc/en/conf.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
latex_engine = "lualatex"
4444

4545
latex_elements = {
46-
'preamble': dedent("""
46+
"preamble": dedent(
47+
"""
4748
\directlua{
4849
luaotfload.add_fallback("fallbacks", {
4950
"Noto Serif CJK SC:style=Regular;",
@@ -52,7 +53,8 @@
5253
}
5354
5455
\setmainfont{FreeSerif}[RawFeature={fallback=fallbacks}]
55-
""")
56+
"""
57+
)
5658
}
5759

5860
# -- General configuration -----------------------------------------------------

0 commit comments

Comments
 (0)
Please sign in to comment.