diff --git a/.readthedocs.yml b/.readthedocs.yml
index ee4357e7d754ad29875feed9f8e8ac9476edb50e..40a528d08a022617d94ce78af115a9a653a1669c 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -9,19 +9,18 @@ version: 2
 build:
   os: ubuntu-22.04
   tools:
-    python: "3.7"
+    python: "3.12"
 
 # Build documentation in the docs/ directory with Sphinx
 sphinx:
   configuration: Documentation/conf.py
 
-  # Optionally build your docs in additional formats such as PDF
-  formats:
-    - pdf
-    - epub
+# Optionally build your docs in additional formats such as PDF
+formats:
+  - pdf
+  - epub
 
-  # Optionally set the version of Python and requirements required to build your docs
-  python:
-    version: 3.7
-    install:
-      - requirements: Documentation/docker-sphinx-qfq/requirements.txt
\ No newline at end of file
+# Optionally set the version of Python and requirements required to build your docs
+python:
+  install:
+    - requirements: Documentation/docker-sphinx-qfq/requirements.txt
\ No newline at end of file