File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11# Read the Docs configuration file for Sphinx projects
22# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+ # If build fails check https://docs.readthedocs.io/en/latest/build-customization.html#install-dependencies-with-poetry for updates
34
45# Required
56version : 2
@@ -11,10 +12,15 @@ build:
1112 python : " 3.10"
1213 jobs :
1314 post_create_environment :
15+ # Install poetry
16+ # https://python-poetry.org/docs/#installing-manually
1417 - pip install poetry
15- - poetry config virtualenvs.create false
1618 post_install :
17- - poetry install --with docs
19+ # Install dependencies with 'docs' dependency group
20+ # https://python-poetry.org/docs/managing-dependencies/#dependency-groups
21+ # VIRTUAL_ENV needs to be set manually for now.
22+ # See https://github.com/readthedocs/readthedocs.org/pull/11152/
23+ - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
1824
1925# Build documentation in the "docs/" directory with Sphinx
2026sphinx :
You can’t perform that action at this time.
0 commit comments