Skip to content

Commit 06e0a9a

Browse files
committed
Update rtd config
1 parent cf7231e commit 06e0a9a

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.readthedocs.yaml

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
version: 2
1+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
2+
# for poetry see https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-poetry
23

3-
sphinx:
4-
configuration: docs/source/conf.py
4+
# Required
5+
version: 2
56

67
build:
78
os: ubuntu-22.04
@@ -12,13 +13,11 @@ build:
1213
jobs:
1314
post_create_environment:
1415
- pip install poetry
15-
- poetry config virtualenvs.create false
1616
post_install:
17-
- poetry install --with docs
17+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
1818

19-
formats:
20-
- epub
21-
- pdf
19+
sphinx:
20+
configuration: docs/source/conf.py
2221

2322
# python:
2423
# install:

0 commit comments

Comments
 (0)