From 147520a3372c084c142eaed35a240c3339ecfd22 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 18 Sep 2023 12:24:37 +0100 Subject: [PATCH] [Docs] Fix readthedocs builds --- .readthedocs.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 8d94a56fc7..90b567f29a 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,6 +5,14 @@ # Required version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.10" + jobs: + post_checkout: + - git fetch --unshallow || true + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/source/conf.py @@ -14,9 +22,8 @@ formats: all # Optionally set the version of Python and requirements required to build your docs python: - version: 3.7 install: - requirements: requirements.txt - requirements: docs/requirements.txt - - method: setuptools + - method: pip path: .