diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index a6dff0de2b31406644145a1f94164d1d3964b82e..6258dfe5498785fab1e66def8c1fb9fdf10a9a08 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -17,7 +17,7 @@ build:
 
 # Build documentation in the docs/ directory with Sphinx
 sphinx:
-   configuration: docs/conf.py
+  configuration: docs/conf.py
 
 # If using Sphinx, optionally build your docs in additional formats such as PDF
 # formats:
@@ -25,13 +25,9 @@ sphinx:
 
 # Optionally declare the Python requirements required to build your docs
 python:
-   install:
-   # install requirements
-   - requirements: docs/requirements.txt
-
-python:
-  # Install our python package before building the docs
   install:
-   # install our root directory
-   - method: pip
-      path: .
\ No newline at end of file
+  # install requirements
+  - requirements: docs/requirements.txt
+  # install our root directory
+  - method: pip
+    path: .
\ No newline at end of file