Update RTD configuration 22/110522/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 7 Mar 2024 12:20:04 +0000 (13:20 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 7 Mar 2024 12:28:43 +0000 (13:28 +0100)
ReadTheDocs build is failing due to missing OS declaration. Fix that and
modernize configuration.

Change-Id: I5791b300594cadb45c0fcd97581287b11dff85b7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
.readthedocs.yml

index e966da6a6552bb10e9c5dc0b489f0bc95f2ca196..48b12063939151ec580d3bb93ec78ac1a858b809 100644 (file)
@@ -5,10 +5,17 @@
 # Required
 version: 2
 
+build:
+  os: ubuntu-22.04
+  tools:
+    python: "3.11"
+  jobs:
+    post_checkout:
+      - git fetch --unshallow || true
+
 sphinx:
   configuration: docs/conf.py
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements.txt