diff --git a/docs/source/.readthedocs.yaml b/.readthedocs.yaml
similarity index 77%
rename from docs/source/.readthedocs.yaml
rename to .readthedocs.yaml
index e687c2fc633645c26368116939c8705d589c1799..5def37f30ee440cbef77916199724ca132366b1b 100644
--- a/docs/source/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -3,17 +3,17 @@ version: 2
 build:
   os: "ubuntu-22.04"
   tools:
-    python: "3.9"
+    python: "3.11"
 
 sphinx:
   configuration: docs/config.py
-  fail_on_warning: false
+  fail_on_warning: true
   
 formats:
   - pdf
   
 python:
-  version: 3.9
+  version: 3.11
   install:
     - requirements: docs/requirements.txt
     - method: pip
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 9fffc3bf2e315ee76a9fd3cf03588a5a31eeda95..c1f3f786afa1423075cce9f90ea11647d335c6ad 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,5 +1,4 @@
-python>=3.8
 sphinx>=6
 pysolar==0.10.0
 docopt
-nbsphinx
\ No newline at end of file
+nbsphinx