Skip to content

Commit

Permalink
docs: setup uv for readthedocs (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz committed Apr 18, 2024
1 parent cea0374 commit 8981ab0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"

jobs:
post_create_environment:
- pip install uv
post_install:
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r docs/requirements.txt
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
formats: all

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt

0 comments on commit 8981ab0

Please sign in to comment.