From ef2a93f31c80b0aaf479bbeb9e319c852fc5db43 Mon Sep 17 00:00:00 2001 From: Geoff Low Date: Thu, 16 Nov 2023 12:33:47 +0000 Subject: [PATCH] try and make sure environment is properly active --- .readthedocs.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7399cb2..db057b6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -12,10 +12,12 @@ build: - asdf install poetry latest - asdf global poetry latest - poetry config virtualenvs.create false - pre_build: + post_install: - poetry install --with docs + pre_build: + - poetry shell -# Build documentation in the docs/ directory with Sphinx +# Build documentation using Sphinx sphinx: configuration: docs/source/conf.py fail_on_warning: true