CI: Update RTD configuration file 52/12352/1 j-release 1.8.1
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 15 Dec 2023 23:36:51 +0000 (09:36 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 15 Dec 2023 23:36:51 +0000 (09:36 +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: Ia5e56c12bd3d4622108d9f59161fe849cb593bf5
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.readthedocs.yaml

index 8df5ada..1c199e0 100644 (file)
@@ -5,12 +5,13 @@ formats:
   - htmlzip
 
 build:
-  image: latest
+  os: "ubuntu-22.04"
+  tools:
+    python: "3.11"
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt
 
 sphinx:
-  configuration: docs/conf.py
\ No newline at end of file
+  configuration: docs/conf.py