From 246364636d89e9515dc82142b6f84097f36759d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bosch?= Date: Thu, 2 Jan 2025 12:59:39 +0100 Subject: [PATCH] build: mamba docs environment for readthedocs --- .readthedocs.yml | 6 ++++-- docs/environment.yml | 10 ++++++++++ docs/requirements.txt | 5 ----- 3 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 docs/environment.yml delete mode 100644 docs/requirements.txt diff --git a/.readthedocs.yml b/.readthedocs.yml index 75d906d..9ea41b4 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -3,10 +3,12 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.11" + python: mambaforge-4.10 + +conda: + environment: docs/environment.yml python: install: - - requirements: docs/requirements.txt - method: pip path: . diff --git a/docs/environment.yml b/docs/environment.yml new file mode 100644 index 0000000..7639384 --- /dev/null +++ b/docs/environment.yml @@ -0,0 +1,10 @@ +name: detectree +channels: + - conda-forge +dependencies: + - lightgbm=4.5.0 + - m2r2=0.3.3 + - pydata-sphinx-theme=0.16.1 + - sphinx=8.1.3 + - sphinx-click=6.0.0 + - sphinxcontrib-bibtex=2.6.3 diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 99172f9..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -m2r2==0.3.3 -pydata-sphinx-theme==0.15.2 -sphinx==7.2.6 -sphinx_click==5.01 -sphinxcontrib.bibtex==2.6.2