Removing deprecated functions from readthedocs

Change-Id: I9844929987bc4b93b7bfe8f214d796404993a8b6
Signed-off-by: czichy <thoralf.czichy@nokia.com>
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 3797dc8..864f935 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -9,10 +9,11 @@
   - htmlzip
 
 build:
-  image: latest
+  os: "ubuntu-22.04"
+  tools: 
+    python: "3.7"
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt