diff --git a/.readthedocs.yml b/.readthedocs.yml index 57501b92..c028a638 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,15 +2,17 @@ version: 2 formats: [] build: - os: ubuntu-22.04 + os: "ubuntu-22.04" tools: python: "3.11" - -python: - install: - - method: poetry - path: . - command: "poetry install --with docs" + jobs: + post_create_environment: + - pip install poetry + - poetry config virtualenvs.create false + post_install: + # Install dependencies with 'docs' dependency group + # https://python-poetry.org/docs/managing-dependencies/#dependency-groups + - poetry install --with docs sphinx: configuration: docs/conf.py