CI: Update RTD configuration file 41/12341/1
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 15 Dec 2023 23:13:01 +0000 (09:13 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 15 Dec 2023 23:15:20 +0000 (09:15 +1000)
RTD has finished their switch requiring version 2 of their
configuration file and we must now update to work with it.

Ref:
https://blog.readthedocs.com/use-build-os-config/

Change-Id: Ic2284ad960dbc20a8ec0ab151203f13c61fad354
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.readthedocs.yaml

index 095222a..1c199e0 100644 (file)
@@ -5,10 +5,11 @@ formats:
   - htmlzip
 
 build:
-  image: latest
+  os: "ubuntu-22.04"
+  tools:
+    python: "3.11"
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt