Skip to content

Commit 8981ab0

Browse files
authored
docs: setup uv for readthedocs (#60)
1 parent cea0374 commit 8981ab0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ build:
1010
os: ubuntu-22.04
1111
tools:
1212
python: "3.10"
13-
13+
jobs:
14+
post_create_environment:
15+
- pip install uv
16+
post_install:
17+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r docs/requirements.txt
1418
# Build documentation in the docs/ directory with Sphinx
1519
sphinx:
1620
configuration: docs/conf.py
1721

1822
# If using Sphinx, optionally build your docs in additional formats such as PDF
1923
formats: all
20-
21-
# Optionally declare the Python requirements required to build your docs
22-
python:
23-
install:
24-
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)