From 2fe45a42ad447180020dd2e9d3ee4a841782a67b Mon Sep 17 00:00:00 2001 From: Seth Fischer Date: Tue, 10 Jan 2023 21:02:56 +1300 Subject: [PATCH] Docs: update build customization Poetry example Move `poetry install` from `post_create_environment` to `post_install`. This ensures the Sphinx version installed from `poetry.lock` is used to build the docs, rather than the default version of Sphinx. Closes: #9869 --- docs/user/build-customization.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/user/build-customization.rst b/docs/user/build-customization.rst index 6a6a32cfeea..b30780aea29 100644 --- a/docs/user/build-customization.rst +++ b/docs/user/build-customization.rst @@ -330,6 +330,7 @@ Take a look at the following example: - pip install poetry # Tell poetry to not use a virtual environment - 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