diff --git a/readthedocs.yml b/readthedocs.yml
index d3b1499dabc956b035aa0f1c656bc2bda2ee8879..df0f9d88551f517a0ff9e88842a92ef2caa87ad8 100644
--- a/readthedocs.yml
+++ b/readthedocs.yml
@@ -8,11 +8,7 @@ version: 2
 build:
   os: ubuntu-24.04
   tools:
-    python: "3.12"
-  command:
-    - pip install hatch               # Manually install hatch
-    - hatch shell docs
-    - mkdocs build     
+    python: "3.12"   
 
 mkdocs:
   configuration: mkdocs.yml
@@ -23,6 +19,7 @@ python:
   install:
     - method: pip
       path: .
+    - hatch shell docs