From 3ae1da0d6859199e6812aeff13719f23e48b27ef Mon Sep 17 00:00:00 2001 From: Peter Hill Date: Tue, 27 Aug 2024 17:37:38 +0100 Subject: [PATCH] Fix readthedocs config Was using the v1 format, which no longer works --- .readthedocs.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index f9c1290..09d1130 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,6 +1,23 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python and other tools you might need build: - image: latest + os: ubuntu-24.04 + tools: + python: "3.12" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py python: - setup_py_install: true - use_system_site_packages: true + install: + - method: pip + path: . + extra_requirements: + - docs