readthedocs: Use build.os instead of build.image 14/11714/1
authorJackie Huang <jackie.huang@windriver.com>
Fri, 1 Sep 2023 02:37:10 +0000 (10:37 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Fri, 1 Sep 2023 02:44:51 +0000 (10:44 +0800)
build.image config key will be deprecated in favor of build.os

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

Issue-ID: INF-429

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Icaeb1dd26319d91c86082af5d419d694cb94a3d3

.readthedocs.yaml

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