diff --git a/.readthedocs.yml b/.readthedocs.yml index f913f420..1b92d647 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,15 +7,15 @@ build: pre_build: - python -c "import ehrapy" - pip freeze + post_create_environment: + - pip install uv + post_install: + # VIRTUAL_ENV needs to be set manually for now. + # See https://github.com/readthedocs/readthedocs.org/pull/11152/ + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install .[docs] sphinx: configuration: docs/conf.py fail_on_warning: false -python: - install: - - method: pip - path: . - extra_requirements: - - doc submodules: include: all diff --git a/pyproject.toml b/pyproject.toml index 48891f46..a591bc89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,7 +76,7 @@ medcat = [ dev = [ "pre-commit", ] -doc = [ +docs = [ "docutils", "sphinx", "furo",