diff --git a/.readthedocs.yml b/.readthedocs.yml index 6f3ff6be3f..e8b81a4109 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,7 +2,10 @@ version: 2 build: os: ubuntu-20.04 tools: - python: mambaforge-4.10 -conda: - environment: doc/environment.yml + python: "3.11" + jobs: + post_create_environment: + - pip install uv + post_install: + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r doc/requirements.txt formats: all diff --git a/doc/requirements.txt b/doc/requirements.txt index 1d39662bb4..b011900147 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1 +1,4 @@ -.[docs,cpu] +.[docs,cpu,torch] +exhale @ https://github.com/svenevs/exhale/archive/2759a394268307b88f5440487ae0920ee4ebf81e.zip +# https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/309 +docutils!=0.18.*,!=0.19.*