Skip to content

Commit b490a86

Browse files
authored
Docs: update build customization Poetry example (#9879)
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
1 parent fef866e commit b490a86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/user/build-customization.rst

+1
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ Take a look at the following example:
330330
- pip install poetry
331331
# Tell poetry to not use a virtual environment
332332
- poetry config virtualenvs.create false
333+
post_install:
333334
# Install dependencies with 'docs' dependency group
334335
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
335336
- poetry install --with docs

0 commit comments

Comments
 (0)