From 247c54d34df2672cd5d8f0af0f1523c07a6083d8 Mon Sep 17 00:00:00 2001 From: Morty Space Date: Mon, 17 Oct 2022 23:44:44 +0200 Subject: [PATCH] chore: updated doc job --- .readthedocs.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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: