From 4c5430578d6cc85a2605459d54fd2f8ae6c9f951 Mon Sep 17 00:00:00 2001 From: Kian Cross Date: Fri, 8 Sep 2023 12:15:53 +0100 Subject: [PATCH] Update `.readthedocs.yml` to version 2 (#318) Updated `.readthedocs.yml` to version 2, which also allows Poetry to be used for dependency installation. --- .readthedocs.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 9a3deeb4..715637cc 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,9 +7,13 @@ sphinx: configuration: docs/conf.py fail_on_warning: true -python: - install: - - method: pip - path: . - extra_requirements: - - docs +build: + os: "ubuntu-22.04" + tools: + python: "3.11" + jobs: + post_create_environment: + - pip install poetry + - poetry config virtualenvs.create false + post_install: + - make install