From b8646d776d93488b7b19f0b7f1c8eb91408bcb50 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 14 Aug 2023 21:33:26 -0700 Subject: [PATCH 1/2] Copy of recommded readthedocs configuration file v2 --- .readthedocs.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index c9c61617ca..716d9a7665 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,3 +1,15 @@ +# https://blog.readthedocs.com/migrate-configuration-v2/ + +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +sphinx: + configuration: docs/conf.py + python: - version: 3 -requirements_file: docs/requirements.txt + install: + - requirements_file: docs/requirements.txt From bec6f4fa14e3de5192c71862cb88da9fc60af973 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 14 Aug 2023 21:39:18 -0700 Subject: [PATCH 2/2] [ci skip] It is now requirements (not requirements_file) --- .readthedocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 716d9a7665..2625521e59 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -12,4 +12,4 @@ sphinx: python: install: - - requirements_file: docs/requirements.txt + - requirements: docs/requirements.txt