Skip to content

Commit

Permalink
fix(docs): update readthedocs.yaml for uv
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Feb 4, 2025
1 parent af25adc commit 6c33fb4
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,23 @@ version: 2
sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF
# formats:
# - pdf
# - epub

build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.12"

python:
install:
- method: pip
path: .
extra_requirements:
- docs
jobs:
post_checkout:
- git fetch --tags --unshallow # Also fetch tags
post_system_dependencies:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs

0 comments on commit 6c33fb4

Please sign in to comment.