From f3c82084eaa888ea281358602ef1bd4b30d424e4 Mon Sep 17 00:00:00 2001 From: superstar54 Date: Tue, 3 Dec 2024 17:14:55 +0100 Subject: [PATCH] Update readthedocs.yaml --- .readthedocs.yaml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 301384f..688e898 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,25 +3,13 @@ version: 2 build: os: "ubuntu-22.04" tools: - python: "miniconda3-3.12-24.1" # note that libmamba-solver is available since 22.1 - nodejs: "20" # maybe need to be also miniconda - jobs: - post_create_environment: - - python -m pip install --no-cache-dir .[docs] - - python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt - - rabbitmq-server -detached - - sleep 10 - - rabbitmq-diagnostics status - - verdi presto - - verdi daemon start - - verdi status - - aiida-pseudo install sssp -x PBEsol - - verdi group list - - cat /proc/cpuinfo | grep processor | wc -l - -conda: - environment: docs/environment.yml + python: "3.11" # Build from the docs/ directory with Sphinx sphinx: configuration: docs/source/conf.py + +# Explicitly set the version of Python and its requirements +python: + install: + - requirements: docs/requirements.txt