diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3eb568e..8bd248b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,12 +5,11 @@ build: os: "ubuntu-22.04" tools: python: "3.10" - commands: - - curl -sSL https://install.python-poetry.org | python3 - - - alias poetry="/home/docs/.local/bin/poetry" - - poetry config virtualenvs.create false - - poetry install - - cd docs && make html + jobs: + pre_create_environment: + - curl -sSL https://install.python-poetry.org | python3 - + - $HOME/.poetry/bin/poetry config virtualenvs.create false + - $HOME/.poetry/bin/poetry install # Build documentation in the docs/ directory with Sphinx sphinx: