Removing deprecated functions from readthedocs

Change-Id: If9a27a12e841e638d9f32b965a81e1b47cd389ff
Signed-off-by: czichy <thoralf.czichy@nokia.com>
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 095222a..864f935 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -1,14 +1,19 @@
 ---
+# .readthedocs.yml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+# Required
 version: 2
 
 formats:
   - htmlzip
 
 build:
-  image: latest
+  os: "ubuntu-22.04"
+  tools: 
+    python: "3.7"
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt