version: 2 sphinx: configuration: docs/conf.py build: os: "ubuntu-22.04" tools: python: "3.8" jobs: post_create_environment: # Install poetry - python -m pip install poetry # Tell poetry to not use a virtual environment - poetry config virtualenvs.create false post_install: # Install dependencies with 'docs' dependency group - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install --with docs --all-extras