Add RTD documentation 33/110533/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 7 Mar 2024 13:32:15 +0000 (14:32 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 7 Mar 2024 13:32:15 +0000 (14:32 +0100)
RTD build is failing due to us missing configuration. Fix that.

Change-Id: Ia26b09bd8e5c9865161b5975928e15b699b366b0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
.readthedocs.yml [new file with mode: 0644]

diff --git a/.readthedocs.yml b/.readthedocs.yml
new file mode 100644 (file)
index 0000000..48b1206
--- /dev/null
@@ -0,0 +1,21 @@
+# .readthedocs.yml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# 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:
+  install:
+    - requirements: docs/requirements.txt