From da2409487c60b7deae518862a4d6eac7b45bec3b Mon Sep 17 00:00:00 2001 From: Katharina Kloppenborg Date: Sun, 11 Feb 2024 20:38:18 +0100 Subject: [PATCH] Adapt .readthedocs.yml to use build.os instead of build.image build.image deprecated (https://blog.readthedocs.com/use-build-os-config/). adapted some other lines according to documentation (https://docs.readthedocs.io/en/stable/config-file/v2.html#build) --- .readthedocs.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 758d263..8c460bb 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,13 +1,18 @@ # Required version: 2 -# Image to use +# Set OS and Python version build: - image: testing + os: ubuntu-22.04 + tools: + python: "3.9" + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/conf.py # Configuration python: - version: 3.9 install: - requirements: docs/requirements.txt - method: pip