Skip to content

Commit

Permalink
ci: use uv requirements on readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
tigarmo committed Jan 30, 2025
1 parent c025e17 commit 2955721
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,20 @@
version: 2

build:
os: ubuntu-22.04
os: ubuntu-24.04
apt_packages:
- curl
tools:
python: "3.10"
python: "3.12"
jobs:
post_checkout:
- git fetch --tags --unshallow # Also fetch tags
- git describe # Make sure we get a proper version
create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv export --no-dev --extra docs --no-emit-package pywin32 --no-hashes --output-file uv-requirements.txt

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -24,7 +31,6 @@ sphinx:
# and requirements required to build your docs
python:
install:
- requirements: uv-requirements.txt
- method: pip
path: .
extra_requirements:
- docs

0 comments on commit 2955721

Please sign in to comment.