From e97adba768b0eae9352f08864c51e78b07390625 Mon Sep 17 00:00:00 2001 From: Niels Bantilan Date: Mon, 8 Jan 2024 16:23:22 -0500 Subject: [PATCH] switch readthedocs config to monodocs build (#4687) Signed-off-by: Niels Bantilan --- .readthedocs.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index b63d11acfc..1dd699bf9b 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,13 +7,17 @@ version: 2 build: os: "ubuntu-22.04" tools: - python: "3.11" + python: "mambaforge-22.9" + jobs: + post_install: + - conda-lock install --name $READTHEDOCS_VERSION monodocs-environment.lock.yaml + - conda info + - conda env list + - conda list # Build documentation in the docs/ directory with Sphinx sphinx: - configuration: rsts/conf.py + configuration: docs/conf.py -# Optionally set the version of Python and requirements required to build your docs -python: - install: - - requirements: doc-requirements.in +conda: + environment: docs/build-environment.yaml