From 519a6a1eb5a86959500d5fcbf66158d334a868a8 Mon Sep 17 00:00:00 2001 From: Chris Tomkins-Tinch Date: Mon, 10 Jun 2024 14:59:27 -0400 Subject: [PATCH] add build environment spec to .readthedocs.yml config (#541) a build.os value is now required by readthedocs; see: https://blog.readthedocs.com/use-build-os-config/ --- .readthedocs.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 079d7bb50..0d1c8898d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,6 +5,13 @@ # Required version: 2 +# build environment +# see: https://docs.readthedocs.io/en/stable/config-file/v2.html#build +build: + os: ubuntu-22.04 + tools: + python: "3.10" + # Build documentation in the docs/ directory with Sphinx sphinx: builder: html @@ -19,6 +26,5 @@ formats: all # Optionally set the version of Python and requirements required to build your docs python: - version: 3.8 install: - requirements: docs/requirements.txt