Set Python and Ubuntu versions in .readthedocs.yaml 80/135280/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 3 Jul 2023 11:20:21 +0000 (13:20 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 3 Jul 2023 11:20:21 +0000 (13:20 +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: I6c70966ac84096f4b934a72786adffb36ceccf7d

.readthedocs.yaml

index 876b8cb..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
\ No newline at end of file
+  configuration: docs/conf.py