From 72c73d2380e85b5dfd5e8dffd4efaa9c3cf18305 Mon Sep 17 00:00:00 2001
From: ItsDrike <itsdrike@protonmail.com>
Date: Fri, 17 Jan 2025 02:17:38 +0100
Subject: [PATCH] Update readthedocs build instructions

---
 .readthedocs.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index b4e2e882..559a7374 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -4,12 +4,12 @@ build:
   os: ubuntu-22.04
   tools:
     python: "3.12"
+
   jobs:
     post_create_environment:
-      - python -m pip install poetry
+      - python -m pip install uv
     post_install:
-      - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --only main,docs
-      - poetry run poetry-dynamic-versioning
+      - UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras --group docs --link-mode=copy
 
 sphinx:
   builder: dirhtml