.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
This commit is contained in:
Cosimo Lupo 2023-03-21 18:00:12 +00:00
parent f9b941d226
commit f1c609aa57
No known key found for this signature in database
GPG Key ID: DF65A8A5A119C9A8

View File

@ -6,7 +6,9 @@
version: 2 version: 2
build: build:
image: latest os: ubuntu-22.04
tools:
python: "3.10"
# Build documentation in the docs/ directory with Sphinx # Build documentation in the docs/ directory with Sphinx
sphinx: sphinx:
@ -20,7 +22,6 @@ formats:
# Optionally set the version of Python and requirements required to build your docs # Optionally set the version of Python and requirements required to build your docs
python: python:
version: 3.10
install: install:
- requirements: Doc/docs-requirements.txt - requirements: Doc/docs-requirements.txt
- method: pip - method: pip