CI: Update RTD configuration file 19/72419/3
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 29 Nov 2023 13:59:59 +0000 (05:59 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 29 Nov 2023 16:42:44 +0000 (08:42 -0800)
RTD has finished their switch to requiring version 2 of their
configuration file and we must now update to work with it.

Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Change-Id: Ie4e268d1fe3f967ed0cdf638950783f9d794fdd3

.readthedocs.yml

index 9866633..0cbd1a4 100644 (file)
@@ -1,7 +1,16 @@
+version: 2
+
 formats:
   - htmlzip
 
-requirements_file: requirements.txt
-
 build:
-   image: latest
+  os: ubuntu-20.04
+  tools:
+    python: "3.11"
+
+sphinx:
+  configuration: docs/conf.py
+
+python:
+  install:
+    - requirements: requirements.txt