From 0d33226c5e36f75bcfaaab4453a304dee1c537de Mon Sep 17 00:00:00 2001 From: Adrien Perrin Date: Fri, 31 May 2024 09:06:36 +0200 Subject: [PATCH] update .readthedocs.yml --- .readthedocs.yml | 14 ++++++++++++++ readthedocs.yml | 2 -- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .readthedocs.yml delete mode 100644 readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 000000000..3f080017d --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,14 @@ +--- +version: 2 + +build: + os: "ubuntu-22.04" + tools: + python: "mambaforge-latest" + jobs: + pre_build: + # add cloned repository to python importable paths + - 'echo "$(pwd)" >> $(python -c "import sysconfig;print(sysconfig.get_paths()[\"purelib\"])")/workdir.pth' + +conda: + environment: docs/environment.yml diff --git a/readthedocs.yml b/readthedocs.yml deleted file mode 100644 index 004a03aec..000000000 --- a/readthedocs.yml +++ /dev/null @@ -1,2 +0,0 @@ -conda: - file: docs/environment.yml