From f1c609aa57fa11ab98f2152275f2c709e06c0680 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 21 Mar 2023 18:00:12 +0000 Subject: [PATCH] .readthedocs.yml: don't use 'legacy' build specification Fixes https://github.com/fonttools/fonttools/issues/3054 (I hope) https://docs.readthedocs.io/en/stable/config-file/v2.html#legacy-build-specification --- .readthedocs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index d88a32d18..b05ada488 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,7 +6,9 @@ version: 2 build: - image: latest + os: ubuntu-22.04 + tools: + python: "3.10" # Build documentation in the docs/ directory with Sphinx sphinx: @@ -20,7 +22,6 @@ formats: # Optionally set the version of Python and requirements required to build your docs python: - version: 3.10 install: - requirements: Doc/docs-requirements.txt - method: pip