Set Python and Ubuntu versions in .readthedocs.yaml 19/134519/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 9 May 2023 17:04:02 +0000 (19:04 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 9 May 2023 17:05:25 +0000 (19:05 +0200)
It now follows the ONAP gate configurations.
It also fixes the settings and formats it.

Issue-ID: DOC-811
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I06492b2e99102994bb797eebf05c026df71f8602

.readthedocs.yaml

index 7f740b7..f56b3b7 100644 (file)
@@ -1,21 +1,18 @@
 ---
 # .readthedocs.yml
-# # Read the Docs configuration file
-# # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
-# # Required
-#
-version: 2
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+# Required
 
+version: 2
 build:
-   image: latest
+  os: ubuntu-20.04
+  tools:
+    python: "3.8"
 
 python:
-   version: 3.7
-   install:
-      - requirements: docs/requirements-docs.txt
-
-submodules:
-   include: all
+  install:
+  - requirements: docs/requirements-docs.txt
 
 sphinx:
-   configuration: docs/conf.py
+  configuration: docs/conf.py