From 8fa2c6af3638e635ae5f9eef9b6d7eee1253af11 Mon Sep 17 00:00:00 2001 From: Oliver Beckstein Date: Fri, 14 Jun 2024 23:27:10 -0700 Subject: [PATCH] fix RTD build Need to explicitly build the package on RTD so that the dynamic version import in the conf.py file can work. --- .readthedocs.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 92a5dc97..a7750954 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -15,12 +15,12 @@ sphinx: # Optionally build your docs in additional formats such as PDF and ePub formats: all -#### Ignored when using conda -# python: -# install: -# - method: pip -# path: . -# - requirements: ci/readthedocs/requirements.txt + +# install package +python: + install: + - method: pip + path: . conda: environment: ci/readthedocs/environment.yml