CI: Update RTD configuration file 21/12321/2 I-release
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 15 Dec 2023 13:16:17 +0000 (23:16 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 15 Dec 2023 22:42:43 +0000 (08:42 +1000)
RTD has finished their switch to 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: Id0f2149b2552c7bad571acfb82d2f8827495341c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.readthedocs.yaml
doc-templates/repo-root-dir-files/.readthedocs.yaml

index 3797dc8..ee7629e 100644 (file)
@@ -9,10 +9,11 @@ formats:
   - htmlzip
 
 build:
-  image: latest
+  os: "ubuntu-22.04"
+  tools:
+    python: "3.11"
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt
 
index 3797dc8..ee7629e 100644 (file)
@@ -9,10 +9,11 @@ formats:
   - htmlzip
 
 build:
-  image: latest
+  os: "ubuntu-22.04"
+  tools:
+    python: "3.11"
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt