From 2bb53eb23b76bd56133d49e6bb146a40f4b032d3 Mon Sep 17 00:00:00 2001 From: Adrien Berchet Date: Mon, 11 Nov 2024 18:18:57 +0100 Subject: [PATCH] Docs: Fix RTD config (#4) --- .readthedocs.yml | 5 ++++- docs/environment.yml | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 docs/environment.yml diff --git a/.readthedocs.yml b/.readthedocs.yml index 91cce21..1a16302 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,7 +8,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.11" + python: "miniconda3-4.7" sphinx: configuration: docs/source/conf.py @@ -20,3 +20,6 @@ python: path: . extra_requirements: - docs + +conda: + environment: docs/environment.yml diff --git a/docs/environment.yml b/docs/environment.yml new file mode 100644 index 0000000..beb9222 --- /dev/null +++ b/docs/environment.yml @@ -0,0 +1,7 @@ +name: readthedocs +channels: + - defaults + - conda-forge +dependencies: + - python=3.12 + - graphviz