diff --git a/docs/user/build-customization.rst b/docs/user/build-customization.rst index 18d56fa8a72..0de645309f0 100644 --- a/docs/user/build-customization.rst +++ b/docs/user/build-customization.rst @@ -326,12 +326,13 @@ Take a look at the following example: jobs: post_create_environment: # Install poetry - # https://python-poetry.org/docs/#osx--linux--bashonwindows-install-instructions - - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - + # https://python-poetry.org/docs/#installing-manually + - pip install poetry # Tell poetry to not use a virtual environment - - $HOME/.poetry/bin/poetry config virtualenvs.create false - # Install project's dependencies - - $HOME/.poetry/bin/poetry install + - poetry config virtualenvs.create false + # Install dependencies with 'docs' dependency group + # https://python-poetry.org/docs/managing-dependencies/#dependency-groups + - poetry install --with docs sphinx: configuration: docs/conf.py