Set Python and Ubuntu versions in .readthedocs.yaml 62/135162/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 26 Jun 2023 12:06:01 +0000 (14:06 +0200)
committerthmsdt <thomas.kulik@telekom.de>
Mon, 3 Jul 2023 17:08:01 +0000 (19:08 +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: I5dd75c1dede73dda900c64941f57bf047654961b

.readthedocs.yaml
docs/conf.yaml [deleted file]

index cedcf75..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
diff --git a/docs/conf.yaml b/docs/conf.yaml
deleted file mode 100644 (file)
index ab59281..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
----
-project_cfg: onap
-project: onap
-
-# Change this to ReleaseBranchName to modify the header
-default-version: latest
-#