Skip to content

Commit 29a3b52

Browse files
committed
FIX: Install doc dependencies using poetry
1 parent 4baf15f commit 29a3b52

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.readthedocs.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Read the Docs configuration file
2-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
32

43
# Required
54
version: 2
@@ -13,19 +12,13 @@ build:
1312
# nodejs: "19"
1413
# rust: "1.64"
1514
# golang: "1.19"
15+
jobs:
16+
post_create_environment:
17+
- pip install poetry
18+
- poetry config virtualenvs.create false
19+
post_install:
20+
- poetry install
1621

1722
# Build documentation in the "docs/" directory with Sphinx
1823
sphinx:
1924
configuration: docs/source/conf.py
20-
21-
# Optionally build your docs in additional formats such as PDF and ePub
22-
# formats:
23-
# - pdf
24-
# - epub
25-
26-
# Optional but recommended, declare the Python requirements required
27-
# to build your documentation
28-
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
29-
python:
30-
install:
31-
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)