diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 4fc1d8bdab6695c3b4bf73519e5ef7317e93801c..d8600e111a3cdf11051f8fd7d888b8b477bb0f3b 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -1,13 +1,9 @@
-# .readthedocs.yaml
-# Read the Docs configuration file
-# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
-
-# Required
 version: 2
-
-# Build documentation in the docs/ directory with Sphinx
+build:
+  os: ubuntu-20.04
+  tools:
+    python: mambaforge-4.10
 sphinx:
   configuration: docs/conf.py
-
 conda:
   environment: docs/environment.yml